Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.001508/0.001508, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001446/0.001446, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002525/0.002525, allocations: 292.7 kB / 313.5 MB, free: 2.613 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.265/1.265, allocations: 180.6 MB / 0.5377 GB, free: 14.38 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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",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.002825/0.002825, allocations: 95.41 kB / 0.7403 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2013, allocations: 95.38 MB / 0.8334 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002988/0.2042, allocations: 1.475 MB / 0.8348 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000286/0.2045, allocations: 80.67 kB / 0.8349 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.2046, allocations: 4 kB / 0.8349 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.2046, allocations: 3.938 kB / 0.8349 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.2046, allocations: 3.938 kB / 0.8349 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2048, allocations: 11.98 kB / 0.8349 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.2049, allocations: 31.86 kB / 0.835 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.205, allocations: 11.98 kB / 0.835 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.2051, allocations: 7.984 kB / 0.835 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.2051, allocations: 11.92 kB / 0.835 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2051, allocations: 4 kB / 0.835 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.2052, allocations: 15.98 kB / 0.835 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.2052, allocations: 8 kB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.2052, allocations: 7.938 kB / 0.835 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.2053, allocations: 40.09 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2053, allocations: 0 / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2053, allocations: 0 / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2054, allocations: 0 / 0.8351 GB, free: 6.586 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.0004839/0.2058, allocations: 270.2 kB / 0.8353 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2059, allocations: 13.34 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.874e-05/0.2059, allocations: 192 / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.206, allocations: 38.69 kB / 0.8354 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2061, allocations: 16.92 kB / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2062, allocations: 110.5 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2063, allocations: 384 / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.2063, allocations: 384 / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.2065, allocations: 61.97 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2065, allocations: 0 / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2065, allocations: 7.984 kB / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2065, allocations: 7.938 kB / 0.8356 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.2067, allocations: 43.95 kB / 0.8356 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.2071, allocations: 235.9 kB / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.2073, allocations: 54.48 kB / 0.8359 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2074, allocations: 28.89 kB / 0.8359 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2074, allocations: 4 kB / 0.8359 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2075, allocations: 34.56 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2075, allocations: 0 / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004144/0.2079, allocations: 105.6 kB / 0.8361 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.2079, allocations: 51.41 kB / 0.8361 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.208, allocations: 105.8 kB / 0.8362 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.208, allocations: 25.7 kB / 0.8362 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.2081, allocations: 80.14 kB / 0.8363 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.2081, allocations: 16.02 kB / 0.8363 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2081, allocations: 13.72 kB / 0.8363 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2083, allocations: 314.8 kB / 0.8366 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2084, allocations: 23.98 kB / 0.8367 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-05/0.2085, allocations: 23.97 kB / 0.8367 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.2087, allocations: 60.81 kB / 0.8368 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2087, allocations: 0 / 0.8368 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002313/0.2089, allocations: 81.55 kB / 0.8368 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2089, allocations: 14.33 kB / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2089, allocations: 0 / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.209, allocations: 256 / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2091, allocations: 11.98 kB / 0.8369 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2091, allocations: 8.031 kB / 0.8369 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.2091, allocations: 4 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.2091, allocations: 0 / 0.8369 GB, free: 4.562 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 9.524e-05/0.2092, allocations: 118.4 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.2093, allocations: 0 / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.2093, allocations: 7.625 kB / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2093, allocations: 4 kB / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2093, allocations: 0 / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2093, allocations: 0 / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2095, allocations: 132.7 kB / 0.8371 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2095, allocations: 4 kB / 0.8371 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.2095, allocations: 11.98 kB / 0.8371 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2095, allocations: 0 / 0.8371 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2095, allocations: 0 / 0.8371 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2096, allocations: 3.938 kB / 0.8371 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2096, allocations: 3.938 kB / 0.8371 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.2099, allocations: 179.4 kB / 0.8373 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.2099, allocations: 11.92 kB / 0.8373 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2099, allocations: 4 kB / 0.8373 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.21, allocations: 7.984 kB / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.21, allocations: 0 / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.21, allocations: 0 / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.2101, allocations: 91.27 kB / 0.8374 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2101, allocations: 0 / 0.8374 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002123/0.2103, allocations: 4 kB / 0.8374 GB, free: 3.918 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.0005951/0.2109, allocations: 0.7085 MB / 0.8381 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.2111, allocations: 47.95 kB / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2111, allocations: 0 / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2112, allocations: 27.97 kB / 0.8382 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2115, allocations: 4.156 kB / 0.8382 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.212, allocations: 164.8 kB / 0.8383 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.446e-05/0.2121, allocations: 59.36 kB / 0.8384 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.2121, allocations: 3.984 kB / 0.8384 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.2122, allocations: 15.44 kB / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.2122, allocations: 0 / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.2335, allocations: 1.725 MB / 0.8401 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 2.344 kB / 0.8401 GB, free: 1.238 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.770437925006263] Failed to read output from testmodel.py, exit status != 0: 11.56218186893966 11.583560046 11.373986869 Calling exit ...