Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 287.3 MB / 302.3 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 181.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 100.7 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004943, allocations: 13.5 kB / 0.8657 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2244, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9864/1.211, allocations: 137.8 MB / 1.113 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.211, allocations: 74.67 kB / 1.113 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003363/1.215, allocations: 0.7688 MB / 1.114 GB, free: 31.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.215, allocations: 4 kB / 1.114 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.215, allocations: 0 / 1.114 GB, free: 31.29 MB / 0.698 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.0004579/1.215, allocations: 346.9 kB / 1.114 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.215, allocations: 11.61 kB / 1.114 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/1.215, allocations: 35.7 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/1.215, allocations: 16.11 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/1.215, allocations: 168.7 kB / 1.114 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/1.216, allocations: 3.875 kB / 1.114 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.216, allocations: 0 / 1.114 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/1.216, allocations: 61.31 kB / 1.114 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/1.216, allocations: 3.938 kB / 1.114 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.216, allocations: 5.312 kB / 1.114 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.216, allocations: 4 kB / 1.114 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/1.216, allocations: 58.58 kB / 1.114 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/1.217, allocations: 286.6 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/1.217, allocations: 58.59 kB / 1.115 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.217, allocations: 4 kB / 1.115 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.217, allocations: 34.5 kB / 1.115 GB, free: 30.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 5.55e-06/1.217, allocations: 0 / 1.115 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0007734/1.218, allocations: 128.8 kB / 1.115 GB, free: 30.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.218, allocations: 51.41 kB / 1.115 GB, free: 30.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/1.218, allocations: 97.73 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/1.218, allocations: 26.95 kB / 1.115 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/1.218, allocations: 88.91 kB / 1.115 GB, free: 30 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.218, allocations: 9.125 kB / 1.115 GB, free: 29.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.218, allocations: 0 / 1.115 GB, free: 29.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.219, allocations: 317.4 kB / 1.115 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/1.219, allocations: 29.59 kB / 1.115 GB, free: 29.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/1.219, allocations: 35.14 kB / 1.115 GB, free: 29.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/1.219, allocations: 34.11 kB / 1.115 GB, free: 29.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.219, allocations: 0 / 1.115 GB, free: 29.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004347/1.22, allocations: 94.91 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.22, allocations: 3.844 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.22, allocations: 1.734 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.22, allocations: 0 / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.22, allocations: 22.06 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.22, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.22, allocations: 14.52 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.22, allocations: 3.984 kB / 1.116 GB, free: 29.62 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.22, allocations: 114.8 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/1.22, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/1.22, allocations: 11.83 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.22, allocations: 7.891 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.22, allocations: 2.188 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.22, allocations: 3.938 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/1.221, allocations: 175 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.221, allocations: 0 / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/1.221, allocations: 15.75 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/1.221, allocations: 3.875 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/1.222, allocations: 4 kB / 1.116 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.222, allocations: 1.359 kB / 1.116 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.222, allocations: 0 / 1.116 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.223, allocations: 193.6 kB / 1.116 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/1.224, allocations: 78.38 kB / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.224, allocations: 0 / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/1.224, allocations: 13.89 kB / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/1.224, allocations: 1.734 kB / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.224, allocations: 3.906 kB / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001064/1.224, allocations: 87.95 kB / 1.116 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/1.224, allocations: 0 / 1.116 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006482/1.225, allocations: 3.875 kB / 1.116 GB, free: 28.98 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.226, allocations: 0.7312 MB / 1.117 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006542/1.227, allocations: 65.33 kB / 1.117 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.227, allocations: 3.938 kB / 1.117 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/1.227, allocations: 34.17 kB / 1.117 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/1.228, allocations: 9.281 kB / 1.117 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/1.229, allocations: 157.6 kB / 1.117 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.229, allocations: 0.6785 MB / 1.118 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.263e-05/1.229, allocations: 7.781 kB / 1.118 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/1.229, allocations: 12.05 kB / 1.118 GB, free: 27.45 MB / 0.698 GB Notification: Performance of SimCode: time 1.432e-06/1.229, allocations: 0 / 1.118 GB, free: 27.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/1.25, allocations: 1.172 MB / 1.119 GB, free: 27.29 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003616/1.251, allocations: 181.1 kB / 1.119 GB, free: 27.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.605, allocations: 0 / 1.119 GB, free: 27.05 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)