Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.091/1.091, allocations: 175.8 MB / 478.4 MB, free: 8.598 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.47 kB / 0.6652 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1994, allocations: 94.53 MB / 0.7575 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00279/0.2022, allocations: 1.453 MB / 0.7589 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.2029, allocations: 390.5 kB / 0.7593 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.2029, allocations: 4 kB / 0.7593 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.203, allocations: 0 / 0.7593 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.203, allocations: 7.938 kB / 0.7593 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.334/0.537, allocations: 115.7 kB / 0.7594 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.5371, allocations: 22.94 kB / 0.7595 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.5372, allocations: 5.984 kB / 0.7595 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.5372, allocations: 14.42 kB / 0.7595 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.5372, allocations: 13.09 kB / 0.7595 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.5372, allocations: 2.781 kB / 0.7595 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.5377, allocations: 274.7 kB / 0.7598 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.5377, allocations: 4.609 kB / 0.7598 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.5377, allocations: 14.72 kB / 0.7598 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.5379, allocations: 106.5 kB / 0.7599 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5379, allocations: 0.5 kB / 0.7599 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5379, allocations: 1.375 kB / 0.7599 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5379, allocations: 0.8438 kB / 0.7599 GB, free: 8.027 MB / 0.5762 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.0003753/0.5383, allocations: 364.2 kB / 0.7602 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5383, allocations: 9.594 kB / 0.7602 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.5384, allocations: 31.94 kB / 0.7603 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.5384, allocations: 13.12 kB / 0.7603 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.5385, allocations: 167 kB / 0.7604 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.5385, allocations: 3.875 kB / 0.7604 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.5385, allocations: 5.625 kB / 0.7604 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5387, allocations: 48.12 kB / 0.7605 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5387, allocations: 5.344 kB / 0.7605 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.5387, allocations: 1.188 kB / 0.7605 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5387, allocations: 1.375 kB / 0.7605 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.5389, allocations: 37.67 kB / 0.7605 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.5391, allocations: 250.5 kB / 0.7608 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.5392, allocations: 43.98 kB / 0.7608 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.5393, allocations: 20.42 kB / 0.7608 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/0.5399, allocations: 461.4 kB / 0.7613 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.5399, allocations: 35.36 kB / 0.7613 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5399, allocations: 0 / 0.7613 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003538/0.5403, allocations: 90.58 kB / 0.7614 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.5403, allocations: 52.56 kB / 0.7614 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.5403, allocations: 103.9 kB / 0.7615 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.5403, allocations: 29.05 kB / 0.7616 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.5404, allocations: 84.36 kB / 0.7617 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.5404, allocations: 7.125 kB / 0.7617 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.5404, allocations: 15 kB / 0.7617 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.5405, allocations: 315.4 kB / 0.762 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.5406, allocations: 17.14 kB / 0.762 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.5406, allocations: 19.06 kB / 0.762 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.5408, allocations: 40.7 kB / 0.762 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5408, allocations: 5.125 kB / 0.7621 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000207/0.541, allocations: 68.41 kB / 0.7621 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.541, allocations: 6.875 kB / 0.7621 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.541, allocations: 0.8438 kB / 0.7621 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.541, allocations: 0.75 kB / 0.7621 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.5411, allocations: 15.45 kB / 0.7621 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5411, allocations: 0 / 0.7621 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.5412, allocations: 7.312 kB / 0.7621 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5412, allocations: 2.188 kB / 0.7621 GB, free: 5.883 MB / 0.5762 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 5.935e-05/0.5412, allocations: 117.7 kB / 0.7623 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.5413, allocations: 6.516 kB / 0.7623 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.5415, allocations: 82.91 kB / 0.7623 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5415, allocations: 1.078 kB / 0.7623 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5415, allocations: 0.5 kB / 0.7623 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5415, allocations: 1.328 kB / 0.7623 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.5417, allocations: 163.4 kB / 0.7625 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5417, allocations: 1.609 kB / 0.7625 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.5417, allocations: 8.234 kB / 0.7625 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5417, allocations: 3.812 kB / 0.7625 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.5417, allocations: 0.875 kB / 0.7625 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5417, allocations: 1.219 kB / 0.7625 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5417, allocations: 5.781 kB / 0.7625 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.542, allocations: 166.9 kB / 0.7627 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.542, allocations: 79.39 kB / 0.7628 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.542, allocations: 2.547 kB / 0.7628 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.5421, allocations: 6.141 kB / 0.7628 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.5421, allocations: 6.172 kB / 0.7628 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5421, allocations: 1.125 kB / 0.7628 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.5422, allocations: 85.27 kB / 0.7629 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5422, allocations: 0.6562 kB / 0.7629 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002459/0.5424, allocations: 17.09 kB / 0.7629 GB, free: 5.207 MB / 0.5762 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.0005719/0.543, allocations: 0.7232 MB / 0.7636 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.5432, allocations: 34.75 kB / 0.7636 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5432, allocations: 0.9062 kB / 0.7636 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.5433, allocations: 22.06 kB / 0.7636 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.5437, allocations: 8.016 kB / 0.7636 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.5441, allocations: 141.5 kB / 0.7638 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.5446, allocations: 0.6816 MB / 0.7644 GB, free: 19.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.5447, allocations: 1.844 kB / 0.7644 GB, free: 19.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.5447, allocations: 13.53 kB / 0.7645 GB, free: 19.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5447, allocations: 0 / 0.7645 GB, free: 19.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.5696, allocations: 1.615 MB / 0.766 GB, free: 19.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.823, allocations: 4.375 kB / 0.766 GB, free: 19.31 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.6389264119789] Failed to read output from testmodel.py, exit status != 0: 8.89838390192017 8.920235113 8.378588505 Calling exit ...