Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001291/0.001291, allocations: 100.1 kB / 15.88 MB, free: 12 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.001509/0.001509, allocations: 204.3 kB / 16.79 MB, free: 6.84 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6512/0.6512, allocations: 115.3 MB / 406 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 64.12 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1164, allocations: 76.18 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001797/0.1182, allocations: 0.6356 MB / 0.5565 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000337/0.1186, allocations: 94.25 kB / 0.5566 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.1186, allocations: 0 / 0.5566 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1187, allocations: 4 kB / 0.5566 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.1187, allocations: 4 kB / 0.5566 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.1189, allocations: 15.97 kB / 0.5566 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.1189, allocations: 8 kB / 0.5566 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.119, allocations: 3.984 kB / 0.5566 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.119, allocations: 11.94 kB / 0.5566 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.1191, allocations: 0 / 0.5566 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1191, allocations: 0 / 0.5566 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.1192, allocations: 19.92 kB / 0.5566 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1192, allocations: 3.938 kB / 0.5566 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1192, allocations: 4 kB / 0.5566 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.1193, allocations: 23.91 kB / 0.5567 GB, free: 9.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1193, allocations: 0 / 0.5567 GB, free: 9.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1193, allocations: 0 / 0.5567 GB, free: 9.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.1193, allocations: 0 / 0.5567 GB, free: 9.871 MB / 430.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.0003211/0.1196, allocations: 323.6 kB / 0.557 GB, free: 9.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1197, allocations: 8.031 kB / 0.557 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.1197, allocations: 30.75 kB / 0.557 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1199, allocations: 12.92 kB / 0.557 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.12, allocations: 168.4 kB / 0.5572 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.12, allocations: 4.375 kB / 0.5572 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.12, allocations: 384 / 0.5572 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1201, allocations: 34.25 kB / 0.5572 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1202, allocations: 7.922 kB / 0.5572 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1202, allocations: 0 / 0.5572 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1202, allocations: 4 kB / 0.5572 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.1203, allocations: 15.92 kB / 0.5572 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1204, allocations: 157.7 kB / 0.5574 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1206, allocations: 38.56 kB / 0.5574 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1206, allocations: 16.91 kB / 0.5574 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1207, allocations: 0 / 0.5574 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1207, allocations: 30.56 kB / 0.5575 GB, free: 8.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1207, allocations: 4 kB / 0.5575 GB, free: 8.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002123/0.1209, allocations: 61.55 kB / 0.5575 GB, free: 8.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1209, allocations: 51.41 kB / 0.5576 GB, free: 8.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.315e-05/0.121, allocations: 89.86 kB / 0.5577 GB, free: 8.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.121, allocations: 29.7 kB / 0.5577 GB, free: 8.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.085e-05/0.121, allocations: 80.14 kB / 0.5578 GB, free: 8.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1211, allocations: 16.03 kB / 0.5578 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.1211, allocations: 13.72 kB / 0.5578 GB, free: 8.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.1212, allocations: 318.8 kB / 0.5581 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.1212, allocations: 12 kB / 0.5581 GB, free: 8.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.1213, allocations: 11.92 kB / 0.5581 GB, free: 8.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.1214, allocations: 16.86 kB / 0.5582 GB, free: 8.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1214, allocations: 0 / 0.5582 GB, free: 8.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001119/0.1215, allocations: 53.61 kB / 0.5582 GB, free: 8.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1215, allocations: 8 kB / 0.5582 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1215, allocations: 7.938 kB / 0.5582 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.1216, allocations: 0 / 0.5582 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.122, allocations: 39.94 kB / 0.5583 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.1232, allocations: 1.314 MB / 0.5595 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.1232, allocations: 4.031 kB / 0.5595 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1232, allocations: 7.984 kB / 0.5595 GB, free: 6.551 MB / 430.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.1233, allocations: 109.8 kB / 0.5597 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.1233, allocations: 4 kB / 0.5597 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.1233, allocations: 3.5 kB / 0.5597 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1233, allocations: 0 / 0.5597 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1233, allocations: 0 / 0.5597 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1234, allocations: 0 / 0.5597 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.1235, allocations: 161.7 kB / 0.5598 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1235, allocations: 0 / 0.5598 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.1239, allocations: 47.92 kB / 0.5599 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1239, allocations: 0 / 0.5599 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1239, allocations: 0 / 0.5599 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.125, allocations: 1.314 MB / 0.5611 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.125, allocations: 0 / 0.5611 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1251, allocations: 81.02 kB / 0.5612 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.1252, allocations: 81.11 kB / 0.5613 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.1252, allocations: 0 / 0.5613 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.1252, allocations: 4.094 kB / 0.5613 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.1252, allocations: 3.984 kB / 0.5613 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1252, allocations: 4 kB / 0.5613 GB, free: 4.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.202e-05/0.1253, allocations: 75.28 kB / 0.5614 GB, free: 4.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1253, allocations: 0 / 0.5614 GB, free: 4.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.1255, allocations: 11.94 kB / 0.5614 GB, free: 4.434 MB / 430.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.1259, allocations: 0.6086 MB / 0.562 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.1263, allocations: 55.86 kB / 0.562 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1264, allocations: 7.938 kB / 0.562 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.1266, allocations: 44.12 kB / 0.5621 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1268, allocations: 1.969 kB / 0.5621 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.1272, allocations: 128.6 kB / 0.5622 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1274, allocations: 0.6809 MB / 0.5629 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.1275, allocations: 0 / 0.5629 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1275, allocations: 11.44 kB / 0.5629 GB, free: 2.805 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1275, allocations: 0 / 0.5629 GB, free: 2.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2606/0.3881, allocations: 1.113 MB / 0.564 GB, free: 1.836 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.3884, allocations: 250.8 kB / 0.5642 GB, free: 1.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.198, allocations: 0 / 0.5642 GB, free: 1.57 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)