Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.001833/0.001833, allocations: 103.4 kB / 16.4 MB, free: 6.438 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.001885/0.001885, allocations: 193.2 kB / 17.34 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.403/2.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9645/0.9645, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003294/0.003294, allocations: 63.25 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3109, allocations: 76.19 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.004444/0.3155, allocations: 1.424 MB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3167, allocations: 383.5 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.3168, allocations: 4 kB / 0.6334 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.3169, allocations: 3.938 kB / 0.6334 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.317, allocations: 3.938 kB / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.3179, allocations: 123.6 kB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.318, allocations: 23.92 kB / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3182, allocations: 7.984 kB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.3183, allocations: 15.94 kB / 0.6335 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.3183, allocations: 15.92 kB / 0.6335 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3184, allocations: 0 / 0.6335 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.3189, allocations: 271.7 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3189, allocations: 7.984 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.319, allocations: 7.938 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.3193, allocations: 111.8 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3193, allocations: 0 / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3193, allocations: 0 / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3193, allocations: 4 kB / 0.6339 GB, free: 2.477 MB / 478.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.0006966/0.32, allocations: 366.3 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/0.3201, allocations: 8.031 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.3202, allocations: 34.73 kB / 0.6343 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.3203, allocations: 4.938 kB / 0.6343 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3205, allocations: 173.1 kB / 0.6345 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3205, allocations: 4.312 kB / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3206, allocations: 4.375 kB / 0.6345 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3208, allocations: 46.23 kB / 0.6345 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3209, allocations: 11.94 kB / 0.6346 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3209, allocations: 0 / 0.6346 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3209, allocations: 3.938 kB / 0.6346 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3211, allocations: 35.95 kB / 0.6346 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.3219, allocations: 245 kB / 0.6348 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3221, allocations: 50.42 kB / 0.6349 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3222, allocations: 28.91 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008828/0.3231, allocations: 461.4 kB / 0.6353 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.3232, allocations: 34.56 kB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.3232, allocations: 0 / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005409/0.3237, allocations: 77.66 kB / 0.6354 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/0.3238, allocations: 59.33 kB / 0.6355 GB, free: 0.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.324, allocations: 102 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.324, allocations: 29.7 kB / 0.6356 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3242, allocations: 88.12 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.3242, allocations: 7.906 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.3243, allocations: 9.719 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003101/0.3247, allocations: 314.8 kB / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3249, allocations: 16.03 kB / 0.636 GB, free: 15.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.325, allocations: 23.92 kB / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3253, allocations: 36.83 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.3253, allocations: 3.938 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004459/0.3258, allocations: 69.56 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.3259, allocations: 4 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3259, allocations: 7.938 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.3259, allocations: 4.094 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3261, allocations: 7.984 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.3261, allocations: 0 / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.3262, allocations: 8 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3262, allocations: 0 / 0.6362 GB, free: 15.82 MB / 494.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 0.0001335/0.3264, allocations: 117.8 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.3265, allocations: 0 / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.3268, allocations: 77.19 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3268, allocations: 0 / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3268, allocations: 0 / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3269, allocations: 4 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3271, allocations: 161.8 kB / 0.6365 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.3271, allocations: 4 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.3272, allocations: 11.94 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3272, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3273, allocations: 3.984 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3273, allocations: 4.031 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3273, allocations: 7.922 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3277, allocations: 167.4 kB / 0.6367 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3278, allocations: 85.05 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3278, allocations: 0 / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3279, allocations: 8.031 kB / 0.6368 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.328, allocations: 3.984 kB / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.328, allocations: 0 / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.3281, allocations: 83.28 kB / 0.6369 GB, free: 14.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3281, allocations: 0 / 0.6369 GB, free: 14.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.3285, allocations: 16 kB / 0.6369 GB, free: 14.98 MB / 494.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.001051/0.3296, allocations: 0.7162 MB / 0.6376 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.3299, allocations: 35.97 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3299, allocations: 0 / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.33, allocations: 23.91 kB / 0.6377 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3304, allocations: 12.16 kB / 0.6377 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.3311, allocations: 143.1 kB / 0.6378 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.3316, allocations: 0.6768 MB / 0.6385 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.214e-05/0.3316, allocations: 0 / 0.6385 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.3317, allocations: 15.44 kB / 0.6385 GB, free: 13.27 MB / 494.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3317, allocations: 0 / 0.6385 GB, free: 13.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0923/0.424, allocations: 1.615 MB / 0.6401 GB, free: 11.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/15.77, allocations: 17.73 kB / 0.6401 GB, free: 11.71 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)