Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000768/0.000768, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000817/0.000817, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5325/0.5325, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5473 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.577e-05, allocations: 6.281 kB / 0.5473 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001653/0.001669, allocations: 1.302 MB / 0.5486 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000701/0.00237, allocations: 0.5292 MB / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.002402, allocations: 0 / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.00242, allocations: 0 / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.002467, allocations: 15.84 kB / 0.5491 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.002899, allocations: 139.4 kB / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.00295, allocations: 23.86 kB / 0.5492 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.002989, allocations: 0 / 0.5492 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.003021, allocations: 11.98 kB / 0.5493 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.003071, allocations: 11.92 kB / 0.5493 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003084, allocations: 0 / 0.5493 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.00336, allocations: 275.3 kB / 0.5495 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.003373, allocations: 3.984 kB / 0.5495 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.003392, allocations: 11.98 kB / 0.5495 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.003569, allocations: 155.5 kB / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003571, allocations: 0 / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003572, allocations: 0 / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003576, allocations: 0 / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003222/0.003898, allocations: 282 kB / 0.55 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003934, allocations: 12.62 kB / 0.55 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.535e-05/0.003959, allocations: 34.69 kB / 0.55 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.866e-05/0.003978, allocations: 0.9375 kB / 0.55 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.004048, allocations: 109.8 kB / 0.5501 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004057, allocations: 4.375 kB / 0.5501 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.004066, allocations: 8.375 kB / 0.5501 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.004153, allocations: 38.25 kB / 0.5502 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.00416, allocations: 192 / 0.5502 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004168, allocations: 8.312 kB / 0.5502 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004173, allocations: 4.125 kB / 0.5502 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.004212, allocations: 15.98 kB / 0.5502 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.004469, allocations: 223.9 kB / 0.5504 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.004639, allocations: 46.69 kB / 0.5504 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.004664, allocations: 12.86 kB / 0.5505 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.004683, allocations: 4 kB / 0.5505 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.0047, allocations: 42.44 kB / 0.5505 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004701, allocations: 0 / 0.5505 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001389/0.004839, allocations: 65.75 kB / 0.5506 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.004867, allocations: 51.41 kB / 0.5506 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.00492, allocations: 97.84 kB / 0.5507 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.00493, allocations: 25.7 kB / 0.5507 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.004971, allocations: 88.09 kB / 0.5508 GB, free: 6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.004979, allocations: 11.91 kB / 0.5508 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.005003, allocations: 17.72 kB / 0.5508 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.005079, allocations: 314.8 kB / 0.5511 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.005094, allocations: 12 kB / 0.5512 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.005118, allocations: 17.72 kB / 0.5512 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.005158, allocations: 37.64 kB / 0.5512 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.005161, allocations: 0 / 0.5512 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.779e-05/0.005229, allocations: 57.62 kB / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.005241, allocations: 8 kB / 0.5513 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.005247, allocations: 0 / 0.5513 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.005262, allocations: 0 / 0.5513 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.649e-05/0.005298, allocations: 11.94 kB / 0.5513 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005303, allocations: 0 / 0.5513 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.005317, allocations: 4.031 kB / 0.5513 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.005322, allocations: 4 kB / 0.5513 GB, free: 5.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.945e-05/0.005382, allocations: 113.8 kB / 0.5514 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.005398, allocations: 15.89 kB / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.005505, allocations: 57.5 kB / 0.5515 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005508, allocations: 3.938 kB / 0.5515 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.005514, allocations: 4 kB / 0.5515 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.005516, allocations: 0 / 0.5515 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.144e-05/0.005608, allocations: 124.8 kB / 0.5516 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005609, allocations: 8 kB / 0.5516 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.005625, allocations: 7.938 kB / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.005627, allocations: 3.938 kB / 0.5516 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.005632, allocations: 0 / 0.5516 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005633, allocations: 0 / 0.5516 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005633, allocations: 4 kB / 0.5516 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.005708, allocations: 147.5 kB / 0.5518 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.005715, allocations: 11.83 kB / 0.5518 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.005723, allocations: 0 / 0.5518 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.005748, allocations: 4 kB / 0.5518 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.00576, allocations: 0 / 0.5518 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.005762, allocations: 4 kB / 0.5518 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.005786, allocations: 87.64 kB / 0.5519 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005786, allocations: 0 / 0.5519 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001538/0.00594, allocations: 15.94 kB / 0.5519 GB, free: 4.801 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0003244/0.006265, allocations: 0.7085 MB / 0.5526 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.199e-05/0.006346, allocations: 27.92 kB / 0.5526 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006348, allocations: 0 / 0.5526 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.006358, allocations: 8 kB / 0.5526 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.006513, allocations: 4.062 kB / 0.5526 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.006832, allocations: 154.4 kB / 0.5528 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.006871, allocations: 67.34 kB / 0.5528 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.006892, allocations: 4 kB / 0.5528 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.006917, allocations: 12.44 kB / 0.5528 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.006918, allocations: 0 / 0.5528 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.02113, allocations: 2.053 MB / 0.5548 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.7, allocations: 5.594 kB / 0.5548 GB, free: 1.836 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.033118343912065] Failed to read output from testmodel.py, exit status != 0: 6.777283975854516 6.786553919 6.781291647 Calling exit ...