Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.001203/0.001203, allocations: 109 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.001193/0.001193, allocations: 185.9 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.9812/0.9812, allocations: 175.7 MB / 480.1 MB, free: 2.824 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.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 64.95 kB / 0.6678 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1564, allocations: 94.54 MB / 0.7601 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003125/0.1596, allocations: 1.798 MB / 0.7618 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1612, allocations: 1.052 MB / 0.7629 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.1613, allocations: 4 kB / 0.7629 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.1619, allocations: 167.5 kB / 0.763 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1622, allocations: 118.7 kB / 0.7631 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1626, allocations: 175.5 kB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1628, allocations: 159.6 kB / 0.7635 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.1629, allocations: 17.06 kB / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1631, allocations: 71.75 kB / 0.7635 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1632, allocations: 75.61 kB / 0.7636 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1632, allocations: 8 kB / 0.7636 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1634, allocations: 71.89 kB / 0.7637 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.1634, allocations: 39.91 kB / 0.7637 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1635, allocations: 67.53 kB / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1638, allocations: 195.2 kB / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1638, allocations: 4 kB / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1638, allocations: 0 / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1638, allocations: 0 / 0.764 GB, free: 12.8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007003/0.1645, allocations: 496 kB / 0.7645 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1646, allocations: 12.03 kB / 0.7645 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1646, allocations: 46.67 kB / 0.7645 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1646, allocations: 16.84 kB / 0.7645 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1649, allocations: 249 kB / 0.7648 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.165, allocations: 4.375 kB / 0.7648 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.165, allocations: 3.938 kB / 0.7648 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1652, allocations: 95.31 kB / 0.7649 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1652, allocations: 0 / 0.7649 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1652, allocations: 0 / 0.7649 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.1652, allocations: 8 kB / 0.7649 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.1653, allocations: 31.97 kB / 0.7649 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.1658, allocations: 352.7 kB / 0.7652 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.166, allocations: 70.61 kB / 0.7653 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.166, allocations: 32.84 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1661, allocations: 4 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1662, allocations: 91.33 kB / 0.7654 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1662, allocations: 3.938 kB / 0.7654 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003181/0.1665, allocations: 133.6 kB / 0.7656 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1666, allocations: 81.11 kB / 0.7656 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1669, allocations: 259.4 kB / 0.7659 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1669, allocations: 37.64 kB / 0.7659 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.167, allocations: 120.1 kB / 0.766 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.167, allocations: 35.7 kB / 0.7661 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.1671, allocations: 25.7 kB / 0.7661 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1672, allocations: 326.8 kB / 0.7664 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.1673, allocations: 27.98 kB / 0.7664 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.1674, allocations: 59.42 kB / 0.7665 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1675, allocations: 77.62 kB / 0.7666 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1675, allocations: 0 / 0.7666 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002098/0.1677, allocations: 113.5 kB / 0.7667 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1677, allocations: 7.984 kB / 0.7667 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1677, allocations: 0 / 0.7667 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1677, allocations: 0 / 0.7667 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.1678, allocations: 12 kB / 0.7667 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1678, allocations: 4.062 kB / 0.7667 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.1679, allocations: 11.88 kB / 0.7667 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1679, allocations: 3.984 kB / 0.7667 GB, free: 9.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.000124/0.168, allocations: 141.8 kB / 0.7668 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.168, allocations: 19.86 kB / 0.7669 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1683, allocations: 119 kB / 0.767 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1683, allocations: 4.109 kB / 0.767 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1683, allocations: 3.938 kB / 0.767 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1683, allocations: 8.031 kB / 0.767 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1685, allocations: 229.5 kB / 0.7672 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1685, allocations: 0 / 0.7672 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.1685, allocations: 7.984 kB / 0.7672 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1685, allocations: 0 / 0.7672 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1685, allocations: 0 / 0.7672 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1685, allocations: 3.938 kB / 0.7672 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1685, allocations: 0 / 0.7672 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1688, allocations: 145 kB / 0.7674 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1688, allocations: 97 kB / 0.7675 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1689, allocations: 3.984 kB / 0.7675 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.1689, allocations: 4 kB / 0.7675 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1689, allocations: 15.92 kB / 0.7675 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1689, allocations: 4 kB / 0.7675 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001849/0.1691, allocations: 200.3 kB / 0.7677 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 0 / 0.7677 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002338/0.1694, allocations: 35.88 kB / 0.7677 GB, free: 8.602 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001836/0.1712, allocations: 0.9978 MB / 0.7687 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1714, allocations: 63.97 kB / 0.7687 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1714, allocations: 4 kB / 0.7687 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.1715, allocations: 39.97 kB / 0.7688 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1718, allocations: 60.39 kB / 0.7688 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1739, allocations: 1.955 MB / 0.7707 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1743, allocations: 0.724 MB / 0.7715 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.733e-05/0.1743, allocations: 25.41 kB / 0.7715 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.1744, allocations: 43.42 kB / 0.7715 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.1744, allocations: 0 / 0.7715 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.2003, allocations: 4.524 MB / 0.7759 GB, free: 260 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.44, allocations: 4.062 kB / 0.7759 GB, free: 256 kB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.918241426013992]