Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_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.001115/0.001115, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001302/0.001302, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 122.8 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 63.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3574, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002385/0.3598, allocations: 1.417 MB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002642/0.3601, allocations: 96.02 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.3602, allocations: 3.062 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.3602, allocations: 0.8906 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.3603, allocations: 4.969 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3605, allocations: 12.92 kB / 0.5688 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.3606, allocations: 30.2 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.3607, allocations: 5.5 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.3607, allocations: 9.594 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.868e-05/0.3607, allocations: 15.05 kB / 0.5688 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3608, allocations: 2.125 kB / 0.5688 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.3608, allocations: 17.17 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3609, allocations: 6.969 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.3609, allocations: 11.09 kB / 0.5689 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.361, allocations: 34.42 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.361, allocations: 5.5 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.361, allocations: 0 / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.361, allocations: 0.5625 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB 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.0003925/0.3614, allocations: 343.1 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3615, allocations: 11.81 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.3615, allocations: 36.73 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3617, allocations: 16.8 kB / 0.5693 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.3618, allocations: 166.4 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3618, allocations: 1.719 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3618, allocations: 6.469 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.362, allocations: 64.23 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.362, allocations: 4.594 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.362, allocations: 2.031 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.362, allocations: 0.5938 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.3623, allocations: 52.89 kB / 0.5696 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3626, allocations: 264.1 kB / 0.5698 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3628, allocations: 53.22 kB / 0.5699 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3629, allocations: 30.92 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3629, allocations: 4 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.3629, allocations: 33.33 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.3629, allocations: 3.938 kB / 0.57 GB, free: 30.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004078/0.3634, allocations: 106 kB / 0.5701 GB, free: 30.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3634, allocations: 53.25 kB / 0.5701 GB, free: 30.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.166e-05/0.3635, allocations: 103.9 kB / 0.5702 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.3635, allocations: 31.39 kB / 0.5702 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.3635, allocations: 84.14 kB / 0.5703 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3635, allocations: 8.922 kB / 0.5703 GB, free: 30.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.3636, allocations: 16.62 kB / 0.5703 GB, free: 30.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.3636, allocations: 314.3 kB / 0.5706 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3637, allocations: 24.45 kB / 0.5707 GB, free: 29.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3638, allocations: 25.59 kB / 0.5707 GB, free: 29.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.364, allocations: 56.5 kB / 0.5707 GB, free: 29.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.364, allocations: 3.938 kB / 0.5707 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002376/0.3643, allocations: 75.31 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3643, allocations: 6.859 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3643, allocations: 1.594 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3643, allocations: 1.281 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3644, allocations: 10.56 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3644, allocations: 2.594 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.3645, allocations: 12.77 kB / 0.5709 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3645, allocations: 1 kB / 0.5709 GB, free: 29.77 MB / 446.1 MB 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 4.4e-05/0.3646, allocations: 112.4 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3646, allocations: 3.109 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.3646, allocations: 9.469 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3646, allocations: 0.8125 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3647, allocations: 1.312 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3647, allocations: 4.719 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3648, allocations: 165.2 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3648, allocations: 5.844 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.3649, allocations: 14.8 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3649, allocations: 1.031 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3649, allocations: 0.8438 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3649, allocations: 1.125 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3649, allocations: 1.438 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3652, allocations: 184.5 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.3652, allocations: 78.27 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3652, allocations: 2.328 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.3653, allocations: 9.812 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3654, allocations: 2.359 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3654, allocations: 1.094 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.648e-05/0.3654, allocations: 85.98 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3654, allocations: 1.031 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3656, allocations: 8.562 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB 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.0004132/0.3661, allocations: 0.7077 MB / 0.5722 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3663, allocations: 52.72 kB / 0.5723 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3663, allocations: 1.344 kB / 0.5723 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3665, allocations: 29.56 kB / 0.5723 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3667, allocations: 10.19 kB / 0.5723 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.3671, allocations: 155 kB / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.892e-05/0.3672, allocations: 0.6786 MB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.3673, allocations: 2.094 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.3673, allocations: 14.27 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3673, allocations: 0.6562 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.3834, allocations: 1.414 MB / 0.5745 GB, free: 27.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.86, allocations: 17.39 kB / 0.5745 GB, free: 27.23 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)