Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001287/0.001287, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001414/0.001414, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002522/0.002522, allocations: 268.7 kB / 313.5 MB, free: 2.656 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 14.62 MB / 382.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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.002731/0.002731, allocations: 98.34 kB / 0.7402 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1767, allocations: 95.39 MB / 0.8334 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002991/0.1797, allocations: 1.719 MB / 0.8351 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1812, allocations: 0.9228 MB / 0.836 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.1812, allocations: 0 / 0.836 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.1817, allocations: 131.8 kB / 0.8361 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.1818, allocations: 51.67 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1821, allocations: 115.6 kB / 0.8363 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1823, allocations: 99.5 kB / 0.8363 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.1823, allocations: 7.938 kB / 0.8364 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.1824, allocations: 39.78 kB / 0.8364 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1825, allocations: 55.75 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1826, allocations: 8 kB / 0.8365 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.1828, allocations: 127.8 kB / 0.8366 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.1829, allocations: 51.81 kB / 0.8366 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.183, allocations: 55.61 kB / 0.8367 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1834, allocations: 235 kB / 0.8369 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1834, allocations: 4 kB / 0.8369 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1834, allocations: 0 / 0.8369 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1834, allocations: 0 / 0.8369 GB, free: 4.766 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.0006869/0.1841, allocations: 420.9 kB / 0.8373 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1841, allocations: 9.344 kB / 0.8373 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.329e-05/0.1841, allocations: 8.188 kB / 0.8373 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1842, allocations: 30.75 kB / 0.8374 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1842, allocations: 24.8 kB / 0.8374 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1844, allocations: 161.6 kB / 0.8375 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1844, allocations: 4.312 kB / 0.8375 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1844, allocations: 8.062 kB / 0.8375 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.1846, allocations: 61.67 kB / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1846, allocations: 0 / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1847, allocations: 4 kB / 0.8376 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1847, allocations: 7.938 kB / 0.8376 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1849, allocations: 59.94 kB / 0.8377 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.1854, allocations: 295.9 kB / 0.838 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1855, allocations: 66.48 kB / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.1856, allocations: 32.89 kB / 0.838 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.1857, allocations: 8 kB / 0.8381 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1857, allocations: 38.56 kB / 0.8381 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.915e-06/0.1857, allocations: 3.984 kB / 0.8381 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004136/0.1861, allocations: 133.5 kB / 0.8382 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1862, allocations: 55.41 kB / 0.8383 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1864, allocations: 261.8 kB / 0.8385 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1865, allocations: 25.7 kB / 0.8386 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1866, allocations: 136.1 kB / 0.8387 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1866, allocations: 8.078 kB / 0.8387 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.1866, allocations: 17.72 kB / 0.8387 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1868, allocations: 338.8 kB / 0.839 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.1869, allocations: 27.98 kB / 0.8391 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/0.187, allocations: 27.97 kB / 0.8391 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1871, allocations: 64.81 kB / 0.8391 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1871, allocations: 0 / 0.8391 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.1874, allocations: 109.6 kB / 0.8392 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1874, allocations: 7.984 kB / 0.8393 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1874, allocations: 0 / 0.8393 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1874, allocations: 0 / 0.8393 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.1875, allocations: 11.94 kB / 0.8393 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1875, allocations: 0 / 0.8393 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.1876, allocations: 11.92 kB / 0.8393 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1876, allocations: 0 / 0.8393 GB, free: 2.141 MB / 0.5762 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.0001187/0.1877, allocations: 146.4 kB / 0.8394 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1877, allocations: 19.86 kB / 0.8394 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.188, allocations: 110.6 kB / 0.8395 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.188, allocations: 7.922 kB / 0.8396 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.188, allocations: 0 / 0.8396 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.188, allocations: 0 / 0.8396 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1882, allocations: 188.7 kB / 0.8397 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1882, allocations: 0 / 0.8397 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.1883, allocations: 16.02 kB / 0.8397 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1883, allocations: 3.938 kB / 0.8397 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1883, allocations: 0 / 0.8397 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1883, allocations: 0 / 0.8397 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1883, allocations: 0 / 0.8397 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1886, allocations: 211.3 kB / 0.84 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.1886, allocations: 15.84 kB / 0.84 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1886, allocations: 0 / 0.84 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.1887, allocations: 12.02 kB / 0.84 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1887, allocations: 4 kB / 0.84 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1888, allocations: 0 / 0.84 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001821/0.1889, allocations: 193.2 kB / 0.8402 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1889, allocations: 0 / 0.8402 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000304/0.1892, allocations: 55.86 kB / 0.8402 GB, free: 1.102 MB / 0.5762 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.0007394/0.19, allocations: 0.7862 MB / 0.841 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1902, allocations: 67.97 kB / 0.8411 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1902, allocations: 0 / 0.8411 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.1903, allocations: 27.98 kB / 0.8411 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1908, allocations: 46.95 kB / 0.8411 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.1916, allocations: 424.2 kB / 0.8415 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1917, allocations: 118.8 kB / 0.8416 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.1918, allocations: 8 kB / 0.8416 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.1918, allocations: 51.42 kB / 0.8417 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1919, allocations: 0 / 0.8417 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.2175, allocations: 4.477 MB / 0.8461 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 19.92 kB / 0.8461 GB, free: 11.22 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.200288575026207] Failed to read output from testmodel.py, exit status != 0: 11.303946706000715 11.322866526 11.136452973 Calling exit ...