Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001534, allocations: 198.9 kB / 16.64 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.3 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.044/1.044, allocations: 143 MB / 433.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 0.5144 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1836, allocations: 82.03 MB / 0.5945 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5818/0.7655, allocations: 240.1 MB / 0.829 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.7775, allocations: 7.223 MB / 0.8361 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.7804, allocations: 51.69 kB / 0.8361 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.7833, allocations: 0.7026 MB / 0.8368 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.7892, allocations: 2.07 MB / 0.8388 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005537/0.7948, allocations: 2.028 MB / 0.8408 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006358/0.8012, allocations: 3.275 MB / 0.844 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.8038, allocations: 1.132 MB / 0.8451 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.809, allocations: 1.782 MB / 0.8469 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.8117, allocations: 0.969 MB / 0.8478 GB, free: 9.457 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.812, allocations: 120 kB / 0.8479 GB, free: 9.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007211/0.8193, allocations: 2.494 MB / 0.8504 GB, free: 6.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007777/0.8201, allocations: 454.7 kB / 0.8508 GB, free: 6.395 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.8214, allocations: 0.7232 MB / 0.8515 GB, free: 5.668 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.8272, allocations: 2.777 MB / 0.8542 GB, free: 2.883 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8273, allocations: 0 / 0.8542 GB, free: 2.883 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8273, allocations: 0 / 0.8542 GB, free: 2.883 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.8273, allocations: 0 / 0.8542 GB, free: 2.883 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004039/0.8314, allocations: 1.72 MB / 0.8559 GB, free: 1.113 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.8314, allocations: 8.031 kB / 0.8559 GB, free: 1.105 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.8317, allocations: 126.8 kB / 0.856 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.8362, allocations: 422 kB / 0.8564 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2833/1.12, allocations: 1.018 MB / 0.8574 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/1.12, allocations: 60.09 kB / 0.8575 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.12, allocations: 87.16 kB / 0.8576 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/1.121, allocations: 0.8647 MB / 0.8584 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/1.121, allocations: 0 / 0.8584 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/1.121, allocations: 33.41 kB / 0.8584 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/1.121, allocations: 33 kB / 0.8585 GB, free: 215.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.123, allocations: 0.8085 MB / 0.8592 GB, free: 215.2 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/1.127, allocations: 3.653 MB / 0.8628 GB, free: 213.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/1.128, allocations: 1.1 MB / 0.8639 GB, free: 212.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/1.129, allocations: 362.6 kB / 0.8642 GB, free: 212.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/1.129, allocations: 409.1 kB / 0.8646 GB, free: 212 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.129, allocations: 45.16 kB / 0.8647 GB, free: 211.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/1.129, allocations: 0 / 0.8647 GB, free: 211.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002027/1.131, allocations: 0.9578 MB / 0.8656 GB, free: 211.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.131, allocations: 58.44 kB / 0.8657 GB, free: 211.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/1.132, allocations: 0.8373 MB / 0.8665 GB, free: 211.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/1.132, allocations: 36.67 kB / 0.8665 GB, free: 211.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/1.133, allocations: 482.5 kB / 0.867 GB, free: 210.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/1.133, allocations: 214.5 kB / 0.8672 GB, free: 210.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.133, allocations: 111.1 kB / 0.8673 GB, free: 210.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.133, allocations: 339.1 kB / 0.8676 GB, free: 210.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/1.134, allocations: 256 kB / 0.8678 GB, free: 210.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/1.134, allocations: 367.3 kB / 0.8682 GB, free: 210 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/1.135, allocations: 0.5896 MB / 0.8688 GB, free: 209.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/1.135, allocations: 0 / 0.8688 GB, free: 209.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001183/1.136, allocations: 0.7299 MB / 0.8695 GB, free: 209.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.136, allocations: 6.719 kB / 0.8695 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.136, allocations: 10.27 kB / 0.8695 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.136, allocations: 3.031 kB / 0.8695 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/1.137, allocations: 127.6 kB / 0.8696 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.137, allocations: 2.688 kB / 0.8696 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/1.138, allocations: 66.12 kB / 0.8697 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/1.138, allocations: 25 kB / 0.8697 GB, free: 209.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000858/1.139, allocations: 0.4967 MB / 0.8702 GB, free: 209.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005071/1.139, allocations: 363.3 kB / 0.8706 GB, free: 208.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000919/1.14, allocations: 0.5758 MB / 0.8711 GB, free: 208.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/1.14, allocations: 2.688 kB / 0.8711 GB, free: 208.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001212/1.141, allocations: 0.7225 MB / 0.8718 GB, free: 208.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/1.141, allocations: 13.31 kB / 0.8718 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/1.141, allocations: 0 / 0.8718 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/1.141, allocations: 2.969 kB / 0.8718 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/1.142, allocations: 124.3 kB / 0.872 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.142, allocations: 5.125 kB / 0.872 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/1.143, allocations: 66.14 kB / 0.872 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.143, allocations: 19.81 kB / 0.872 GB, free: 208.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001856/1.143, allocations: 220.4 kB / 0.8723 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.143, allocations: 99.31 kB / 0.8723 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.144, allocations: 0.7417 MB / 0.8731 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.144, allocations: 9.281 kB / 0.8731 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.144, allocations: 0 / 0.8731 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/1.145, allocations: 0.8989 MB / 0.874 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.148, allocations: 2.251 MB / 0.8762 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.148, allocations: 7.312 kB / 0.8762 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/1.149, allocations: 134.4 kB / 0.8763 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.149, allocations: 5.594 kB / 0.8763 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/1.149, allocations: 20.62 kB / 0.8763 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.149, allocations: 5.406 kB / 0.8763 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.149, allocations: 7.969 kB / 0.8763 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.151, allocations: 1.23 MB / 0.8775 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/1.151, allocations: 261 kB / 0.8778 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.151, allocations: 27.09 kB / 0.8778 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/1.152, allocations: 37.08 kB / 0.8778 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.152, allocations: 50.89 kB / 0.8779 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/1.152, allocations: 25.94 kB / 0.8779 GB, free: 205.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006996/1.153, allocations: 0.5828 MB / 0.8785 GB, free: 204.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 0 / 0.8785 GB, free: 204.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001197/1.154, allocations: 0.535 MB / 0.879 GB, free: 204.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002223/1.156, allocations: 1.916 MB / 0.8809 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.158, allocations: 0.9464 MB / 0.8818 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.158, allocations: 2.406 kB / 0.8818 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/1.159, allocations: 341.9 kB / 0.8821 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.161, allocations: 0.6029 MB / 0.8827 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/1.171, allocations: 7.595 MB / 0.8901 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/1.171, allocations: 1.12 MB / 0.8912 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001012/1.172, allocations: 301.7 kB / 0.8915 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/1.173, allocations: 415 kB / 0.8919 GB, free: 198.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.283e-06/1.173, allocations: 1.344 kB / 0.8919 GB, free: 198.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07088/1.244, allocations: 29.23 MB / 0.9205 GB, free: 191.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.435/10.68, allocations: 12.41 kB / 0.9205 GB, free: 191.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)