Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.0008431, allocations: 91.44 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 16 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9261/0.9265, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001674/0.9283, allocations: 1.153 MB / 0.9823 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.9285, allocations: 86.92 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.9286, allocations: 4 kB / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.9286, allocations: 0 / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.9287, allocations: 3.938 kB / 0.9823 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.9288, allocations: 11.98 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.9289, allocations: 27.91 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.929, allocations: 7.984 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.9291, allocations: 4 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.9291, allocations: 11.92 kB / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.9291, allocations: 0 / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.9292, allocations: 19.98 kB / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.9292, allocations: 4 kB / 0.9824 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.9292, allocations: 29.7 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.209e-05/0.9293, allocations: 19.95 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9293, allocations: 7.938 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9293, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.9293, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 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.0004191/0.9298, allocations: 345.6 kB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.9298, allocations: 8.031 kB / 0.9828 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.9299, allocations: 34.56 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.93, allocations: 15.89 kB / 0.9829 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.9301, allocations: 171 kB / 0.983 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.9302, allocations: 0 / 0.983 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.9302, allocations: 0 / 0.983 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.9304, allocations: 81.61 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.9304, allocations: 0 / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.9304, allocations: 0 / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9304, allocations: 3.938 kB / 0.9831 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.9306, allocations: 67.89 kB / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.931, allocations: 264.9 kB / 0.9834 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.9312, allocations: 62.5 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.9313, allocations: 36.89 kB / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.9313, allocations: 0 / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.9314, allocations: 42.56 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.9314, allocations: 0 / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004044/0.9318, allocations: 121.7 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.9318, allocations: 55.41 kB / 0.9837 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.9319, allocations: 101.8 kB / 0.9838 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.9319, allocations: 29.7 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.932, allocations: 84.14 kB / 0.9839 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.932, allocations: 3.906 kB / 0.9839 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.932, allocations: 4.031 kB / 0.9839 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9321, allocations: 322.8 kB / 0.9843 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.9322, allocations: 23.98 kB / 0.9843 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.9323, allocations: 31.97 kB / 0.9843 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.9324, allocations: 27.98 kB / 0.9843 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9324, allocations: 0 / 0.9843 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002321/0.9327, allocations: 109.5 kB / 0.9844 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.9327, allocations: 8 kB / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9327, allocations: 0 / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9327, allocations: 0 / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.9328, allocations: 15.98 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.9328, allocations: 4.031 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.9329, allocations: 11.98 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.9329, allocations: 0 / 0.9845 GB, free: 2.562 MB / 0.7325 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 7.27e-05/0.933, allocations: 113.8 kB / 0.9846 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.933, allocations: 3.953 kB / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.9331, allocations: 3.531 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.9331, allocations: 0 / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9331, allocations: 7.984 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9331, allocations: 4 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.9332, allocations: 161.7 kB / 0.9848 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9333, allocations: 0 / 0.9848 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.9333, allocations: 19.92 kB / 0.9848 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9333, allocations: 0 / 0.9848 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.9334, allocations: 3.953 kB / 0.9848 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9334, allocations: 0 / 0.9848 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9334, allocations: 3.938 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.9336, allocations: 195.5 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.9337, allocations: 81.02 kB / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.9337, allocations: 256 / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.9338, allocations: 23.88 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.9338, allocations: 7.984 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.9339, allocations: 4 kB / 0.9851 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.9339, allocations: 79.28 kB / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9339, allocations: 0 / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002085/0.9341, allocations: 4.031 kB / 0.9852 GB, free: 1.766 MB / 0.7325 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.0005193/0.9346, allocations: 0.7241 MB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.9349, allocations: 71.97 kB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9349, allocations: 0 / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.935, allocations: 31.98 kB / 0.986 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.9354, allocations: 11.88 kB / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.9358, allocations: 169.2 kB / 0.9861 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.9361, allocations: 0.677 MB / 0.9868 GB, free: 16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.9361, allocations: 3.906 kB / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.9362, allocations: 7.438 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.9362, allocations: 4 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.947, allocations: 1.185 MB / 0.988 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.9473, allocations: 193.4 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.749, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat