Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 192.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 73.03 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2364, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002702/0.2391, allocations: 1.44 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.2394, allocations: 96.58 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.2394, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.2395, allocations: 3.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.2395, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.2397, allocations: 15.98 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.2398, allocations: 31.84 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.2399, allocations: 8 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.2399, allocations: 7.984 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.2399, allocations: 11.94 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.24, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.24, allocations: 19.98 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.24, allocations: 7.984 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.2401, allocations: 7.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2402, allocations: 31.89 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2402, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2402, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2402, allocations: 3.984 kB / 0.7851 GB, free: 11.68 MB / 0.6075 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.0004082/0.2406, allocations: 343.7 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2407, allocations: 16.03 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.2407, allocations: 30.75 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.2409, allocations: 16.83 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.241, allocations: 164.4 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.241, allocations: 384 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.2411, allocations: 12.25 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.2413, allocations: 58.22 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.2413, allocations: 3.938 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2413, allocations: 3.938 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2413, allocations: 4 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.2415, allocations: 47.95 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.2418, allocations: 257 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.242, allocations: 62.42 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2421, allocations: 32.89 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.2421, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2422, allocations: 30.56 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.355e-06/0.2422, allocations: 3.984 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000385/0.2426, allocations: 109.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.2426, allocations: 51.41 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.2427, allocations: 109.8 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2427, allocations: 25.7 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.2428, allocations: 80.14 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2428, allocations: 11.84 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.2429, allocations: 13.84 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.243, allocations: 318.8 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2431, allocations: 23.98 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.2432, allocations: 23.97 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2434, allocations: 52.88 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.2434, allocations: 7.938 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.2437, allocations: 77.64 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2437, allocations: 4 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2437, allocations: 4.25 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2437, allocations: 0 / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.2438, allocations: 15.92 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2438, allocations: 8.031 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.2439, allocations: 7.984 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.2439, allocations: 0 / 0.7871 GB, free: 9.449 MB / 0.6075 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 7.025e-05/0.244, allocations: 113.8 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.244, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.2441, allocations: 7.531 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2441, allocations: 0 / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2441, allocations: 0 / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2441, allocations: 4 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2442, allocations: 165.6 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2442, allocations: 3.938 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.2443, allocations: 11.98 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2443, allocations: 0 / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.2443, allocations: 3.938 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2443, allocations: 3.984 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2444, allocations: 4 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.2446, allocations: 183.3 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2447, allocations: 81.11 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2447, allocations: 3.984 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.2448, allocations: 4 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.2448, allocations: 3.984 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2449, allocations: 4 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.2449, allocations: 83.31 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2449, allocations: 4 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002052/0.2451, allocations: 4 kB / 0.7877 GB, free: 8.676 MB / 0.6075 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.0005248/0.2456, allocations: 0.7085 MB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.2459, allocations: 59.88 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2459, allocations: 0 / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.246, allocations: 23.98 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2463, allocations: 0 / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.2468, allocations: 155.1 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.247, allocations: 0.6768 MB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.247, allocations: 4 kB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.2471, allocations: 11.44 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2471, allocations: 4 kB / 0.7893 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2645, allocations: 1.431 MB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.304, allocations: 4 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)