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.001408/0.001408, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001401/0.001401, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9712/0.9712, allocations: 175.7 MB / 480.1 MB, free: 2.801 MB / 366.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.001757/0.001757, allocations: 72.61 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 94.52 MB / 0.7601 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002542/0.1598, allocations: 1.46 MB / 0.7615 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.1605, allocations: 396.8 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1606, allocations: 0 / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.1606, allocations: 7.938 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.1606, allocations: 0 / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.161, allocations: 126.4 kB / 0.762 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.1611, allocations: 27.86 kB / 0.762 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.1612, allocations: 7.984 kB / 0.762 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.1612, allocations: 11.98 kB / 0.762 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.1613, allocations: 11.94 kB / 0.7621 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1613, allocations: 0 / 0.7621 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.1617, allocations: 271.6 kB / 0.7623 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1617, allocations: 8 kB / 0.7623 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.1617, allocations: 11.92 kB / 0.7623 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1619, allocations: 107.7 kB / 0.7624 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1619, allocations: 4 kB / 0.7624 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1619, allocations: 4 kB / 0.7624 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1619, allocations: 0 / 0.7624 GB, free: 14.36 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.0004868/0.1624, allocations: 367.1 kB / 0.7628 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1625, allocations: 8.031 kB / 0.7628 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.1625, allocations: 30.75 kB / 0.7628 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1626, allocations: 8.891 kB / 0.7628 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1627, allocations: 168.3 kB / 0.763 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1627, allocations: 384 / 0.763 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1627, allocations: 4.375 kB / 0.763 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1629, allocations: 58.17 kB / 0.7631 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1629, allocations: 7.875 kB / 0.7631 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1629, allocations: 0 / 0.7631 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1629, allocations: 0 / 0.7631 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.1631, allocations: 35.95 kB / 0.7631 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.1634, allocations: 245 kB / 0.7633 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1635, allocations: 42.5 kB / 0.7634 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.1636, allocations: 28.84 kB / 0.7634 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.1643, allocations: 457.5 kB / 0.7638 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1643, allocations: 38.56 kB / 0.7639 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1643, allocations: 0 / 0.7639 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.1647, allocations: 85.69 kB / 0.764 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1647, allocations: 55.44 kB / 0.764 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.1648, allocations: 105.8 kB / 0.7641 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1648, allocations: 25.7 kB / 0.7641 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.1649, allocations: 80.14 kB / 0.7642 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1649, allocations: 7.891 kB / 0.7642 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.1649, allocations: 17.72 kB / 0.7642 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1651, allocations: 314.8 kB / 0.7645 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.1651, allocations: 27.92 kB / 0.7646 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.1652, allocations: 11.98 kB / 0.7646 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1654, allocations: 40.83 kB / 0.7646 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1654, allocations: 3.938 kB / 0.7646 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.1656, allocations: 69.72 kB / 0.7647 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1656, allocations: 4 kB / 0.7647 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1656, allocations: 0 / 0.7647 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1656, allocations: 4 kB / 0.7647 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.1657, allocations: 7.984 kB / 0.7647 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1657, allocations: 0 / 0.7647 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1657, allocations: 7.984 kB / 0.7647 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1657, allocations: 3.938 kB / 0.7647 GB, free: 11.71 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 8.388e-05/0.1658, allocations: 125.8 kB / 0.7648 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1658, allocations: 3.953 kB / 0.7648 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1661, allocations: 73.42 kB / 0.7649 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1661, allocations: 0 / 0.7649 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1661, allocations: 4 kB / 0.7649 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1661, allocations: 0 / 0.7649 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1662, allocations: 169.6 kB / 0.7651 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1662, allocations: 0 / 0.7651 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.1663, allocations: 12.02 kB / 0.7651 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1663, allocations: 4 kB / 0.7651 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1663, allocations: 0 / 0.7651 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1663, allocations: 0 / 0.7651 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1663, allocations: 3.938 kB / 0.7651 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1666, allocations: 167.4 kB / 0.7653 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1666, allocations: 85.09 kB / 0.7653 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1666, allocations: 4 kB / 0.7653 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.1667, allocations: 7.984 kB / 0.7653 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1667, allocations: 0 / 0.7653 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1667, allocations: 0 / 0.7653 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.1668, allocations: 87.27 kB / 0.7654 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1668, allocations: 0 / 0.7654 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002166/0.167, allocations: 15.94 kB / 0.7654 GB, free: 10.86 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.0006371/0.1676, allocations: 0.7124 MB / 0.7661 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1678, allocations: 35.95 kB / 0.7662 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1678, allocations: 4.094 kB / 0.7662 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.1679, allocations: 19.98 kB / 0.7662 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1682, allocations: 5.562 kB / 0.7662 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.1685, allocations: 151.1 kB / 0.7663 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1689, allocations: 0.6806 MB / 0.767 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1689, allocations: 0 / 0.767 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.1689, allocations: 15.5 kB / 0.767 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1689, allocations: 0 / 0.767 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.1924, allocations: 1.582 MB / 0.7686 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.237, allocations: 12 kB / 0.7686 GB, free: 7.633 MB / 0.5762 GB " [Timeout remaining time 653] (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 --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: 10.585930925997673]