Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.001808/0.001808, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002375/0.002375, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002414/0.002414, allocations: 285.6 kB / 309.8 MB, free: 3.449 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.069/1.069, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 103.8 kB / 0.7347 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4762, allocations: 95.34 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002873/0.4791, allocations: 1.735 MB / 0.8295 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.4798, allocations: 0.5117 MB / 0.83 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.4798, allocations: 0 / 0.83 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.4803, allocations: 145.7 kB / 0.8301 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.4804, allocations: 53.12 kB / 0.8301 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4807, allocations: 65.77 kB / 0.8302 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.4808, allocations: 99.97 kB / 0.8303 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.4809, allocations: 3.109 kB / 0.8303 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.4809, allocations: 39.83 kB / 0.8303 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.481, allocations: 59.09 kB / 0.8304 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4811, allocations: 6.344 kB / 0.8304 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.4813, allocations: 91.17 kB / 0.8305 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.4814, allocations: 57.38 kB / 0.8305 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.4815, allocations: 57.38 kB / 0.8306 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.4818, allocations: 207.6 kB / 0.8308 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4818, allocations: 0 / 0.8308 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4818, allocations: 0 / 0.8308 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.4818, allocations: 0 / 0.8308 GB, free: 1.117 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000614/0.4824, allocations: 493.7 kB / 0.8313 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4825, allocations: 10.86 kB / 0.8313 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.4825, allocations: 192 / 0.8313 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.361e-05/0.4825, allocations: 34.75 kB / 0.8313 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.4825, allocations: 22.5 kB / 0.8313 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4827, allocations: 213.8 kB / 0.8315 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4827, allocations: 1.781 kB / 0.8315 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.4827, allocations: 2 kB / 0.8315 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.4829, allocations: 64.23 kB / 0.8316 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4829, allocations: 4 kB / 0.8316 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4829, allocations: 0.7969 kB / 0.8316 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.4829, allocations: 0 / 0.8316 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.4831, allocations: 63.17 kB / 0.8317 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.4835, allocations: 330.3 kB / 0.832 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4836, allocations: 66.08 kB / 0.832 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4837, allocations: 33.66 kB / 0.8321 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.4838, allocations: 9.844 kB / 0.8321 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4838, allocations: 39.39 kB / 0.8321 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.4838, allocations: 0 / 0.8321 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0004159/0.4842, allocations: 144.5 kB / 0.8323 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4843, allocations: 51.41 kB / 0.8323 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4846, allocations: 261.8 kB / 0.8326 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4846, allocations: 25.7 kB / 0.8326 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.4847, allocations: 132.4 kB / 0.8327 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4847, allocations: 4.703 kB / 0.8327 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.4847, allocations: 18.05 kB / 0.8327 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4849, allocations: 338.5 kB / 0.8331 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.485, allocations: 29.62 kB / 0.8331 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.4851, allocations: 28.94 kB / 0.8331 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.4853, allocations: 66.12 kB / 0.8332 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4853, allocations: 0 / 0.8332 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002362/0.4855, allocations: 113.5 kB / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4855, allocations: 4.5 kB / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4855, allocations: 0 / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4855, allocations: 0 / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.4856, allocations: 10.2 kB / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4856, allocations: 0 / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.4857, allocations: 7.641 kB / 0.8333 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4857, allocations: 12.52 kB / 0.8333 GB, free: 15.07 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001218/0.4858, allocations: 144.7 kB / 0.8335 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.4859, allocations: 19.42 kB / 0.8335 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.4861, allocations: 111.2 kB / 0.8336 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4861, allocations: 3.172 kB / 0.8336 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4862, allocations: 0 / 0.8336 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4862, allocations: 0.8438 kB / 0.8336 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.4864, allocations: 222.1 kB / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4864, allocations: 0 / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.4865, allocations: 9.688 kB / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4865, allocations: 0.6562 kB / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4865, allocations: 2.75 kB / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4865, allocations: 0 / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4865, allocations: 0.8438 kB / 0.8338 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.4868, allocations: 215 kB / 0.834 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.4868, allocations: 92.36 kB / 0.8341 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.4869, allocations: 2.594 kB / 0.8341 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.4869, allocations: 5.469 kB / 0.8341 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.487, allocations: 3.984 kB / 0.8341 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.487, allocations: 3.938 kB / 0.8341 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001755/0.4872, allocations: 191.9 kB / 0.8343 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4872, allocations: 0 / 0.8343 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002868/0.4874, allocations: 41.89 kB / 0.8343 GB, free: 14.28 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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.000739/0.4882, allocations: 0.7595 MB / 0.8351 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.4884, allocations: 69.64 kB / 0.8351 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4884, allocations: 0 / 0.8351 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.4885, allocations: 33.19 kB / 0.8352 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.489, allocations: 50.33 kB / 0.8352 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.4898, allocations: 413.6 kB / 0.8356 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.4902, allocations: 0.732 MB / 0.8363 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.4903, allocations: 8.172 kB / 0.8363 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.4903, allocations: 53.05 kB / 0.8364 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.4903, allocations: 0 / 0.8364 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.5126, allocations: 4.035 MB / 0.8403 GB, free: 12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.623, allocations: 12.47 kB / 0.8403 GB, free: 11.99 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.49261589802336] Failed to read output from testmodel.py, exit status != 0: 8.747102180030197 8.762943415 8.278158115 Calling exit ...