Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve",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.0008562/0.0008561, allocations: 90.44 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005295/0.005295, allocations: 171 kB / 16.26 MB, free: 6.676 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.009/1.009, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 8 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 83.41 MB / 0.598 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.3225/0.5062, allocations: 20.05 MB / 0.6175 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006741/0.513, allocations: 4.924 MB / 0.6223 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.5136, allocations: 16.53 kB / 0.6224 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.5143, allocations: 222.2 kB / 0.6226 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.5161, allocations: 0.7437 MB / 0.6233 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.5177, allocations: 0.6461 MB / 0.6239 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.5192, allocations: 1.81 MB / 0.6257 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.5197, allocations: 370 kB / 0.6261 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007817/0.5205, allocations: 0.5189 MB / 0.6266 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.521, allocations: 451.8 kB / 0.627 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.521, allocations: 24 kB / 0.627 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.522, allocations: 0.5979 MB / 0.6276 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.5221, allocations: 109.5 kB / 0.6277 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.5223, allocations: 289 kB / 0.628 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.523, allocations: 0.8321 MB / 0.6288 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.523, allocations: 4 kB / 0.6288 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.523, allocations: 0 / 0.6288 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.523, allocations: 2.781 kB / 0.6288 GB, free: 27.9 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001143/0.5242, allocations: 0.827 MB / 0.6296 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.5242, allocations: 12.72 kB / 0.6296 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.5243, allocations: 64.88 kB / 0.6297 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.5244, allocations: 63.5 kB / 0.6297 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.5248, allocations: 451.8 kB / 0.6302 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5248, allocations: 25.72 kB / 0.6302 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.5249, allocations: 41.5 kB / 0.6302 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.5254, allocations: 317.1 kB / 0.6305 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5254, allocations: 0.6562 kB / 0.6305 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.5255, allocations: 11 kB / 0.6305 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5255, allocations: 6.125 kB / 0.6306 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.526, allocations: 283 kB / 0.6308 GB, free: 26.62 MB / 0.4981 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.001658/0.5277, allocations: 1.369 MB / 0.6322 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.5282, allocations: 271.8 kB / 0.6324 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.5284, allocations: 154.8 kB / 0.6326 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.5287, allocations: 0.4941 MB / 0.633 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5287, allocations: 35.44 kB / 0.6331 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.5288, allocations: 0 / 0.6331 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.00149/0.5302, allocations: 0.5876 MB / 0.6337 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.5303, allocations: 54.28 kB / 0.6337 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.5307, allocations: 472.8 kB / 0.6342 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.5307, allocations: 36.64 kB / 0.6342 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5308, allocations: 241.7 kB / 0.6344 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.5309, allocations: 84.95 kB / 0.6345 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.5309, allocations: 33.03 kB / 0.6345 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.531, allocations: 367 kB / 0.6349 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.5313, allocations: 121.5 kB / 0.635 GB, free: 23.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.5316, allocations: 198.7 kB / 0.6352 GB, free: 23.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.5321, allocations: 294.1 kB / 0.6355 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5321, allocations: 0 / 0.6355 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001306/0.5334, allocations: 0.5058 MB / 0.636 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.5335, allocations: 105.6 kB / 0.6361 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5335, allocations: 6.812 kB / 0.6361 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.5338, allocations: 51.7 kB / 0.6361 GB, free: 23.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.5341, allocations: 71.16 kB / 0.6362 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002706/0.5344, allocations: 0.5679 MB / 0.6367 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.5348, allocations: 70.33 kB / 0.6368 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.5349, allocations: 20.62 kB / 0.6368 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.5349, allocations: 3.938 kB / 0.6368 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006005/0.5355, allocations: 331.7 kB / 0.6372 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.5355, allocations: 0 / 0.6372 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/0.5355, allocations: 3.062 kB / 0.6372 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.5358, allocations: 81.78 kB / 0.6372 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.5359, allocations: 0 / 0.6372 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.5362, allocations: 70.83 kB / 0.6373 GB, free: 22.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.5363, allocations: 8.344 kB / 0.6373 GB, free: 22.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.5364, allocations: 255.9 kB / 0.6376 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.5365, allocations: 51.16 kB / 0.6376 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.5373, allocations: 433.6 kB / 0.638 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.5373, allocations: 5.516 kB / 0.638 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5373, allocations: 2.219 kB / 0.638 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5373, allocations: 7.922 kB / 0.638 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5385, allocations: 0.9681 MB / 0.639 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5385, allocations: 0 / 0.639 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.5387, allocations: 56.12 kB / 0.639 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.5388, allocations: 52.31 kB / 0.6391 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.5388, allocations: 3.031 kB / 0.6391 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001999/0.5391, allocations: 0.5559 MB / 0.6396 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5391, allocations: 4.062 kB / 0.6396 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.5397, allocations: 0.5097 MB / 0.6401 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5398, allocations: 164 kB / 0.6403 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.5399, allocations: 13.75 kB / 0.6403 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.5402, allocations: 41.22 kB / 0.6403 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.5403, allocations: 22.27 kB / 0.6404 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.5403, allocations: 17.91 kB / 0.6404 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002492/0.5406, allocations: 322.4 kB / 0.6407 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5406, allocations: 0 / 0.6407 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005884/0.5412, allocations: 255.6 kB / 0.6409 GB, free: 20.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.5423, allocations: 1.199 MB / 0.6421 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009511/0.5433, allocations: 497.7 kB / 0.6426 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5433, allocations: 0 / 0.6426 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.5436, allocations: 183.8 kB / 0.6427 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.545, allocations: 257.3 kB / 0.643 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.5502, allocations: 4.3 MB / 0.6472 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.5505, allocations: 0.8552 MB / 0.648 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004269/0.5509, allocations: 117.4 kB / 0.6481 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.5511, allocations: 177 kB / 0.6483 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of SimCode: time 6.92e-07/0.5511, allocations: 0 / 0.6483 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.5844, allocations: 14.57 MB / 0.6625 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.5846, allocations: 285.1 kB / 0.6628 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.593, allocations: 3.938 kB / 0.6628 GB, free: 14.18 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)