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.001295/0.001295, allocations: 104.5 kB / 16.45 MB, free: 6.504 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.001379/0.001379, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.088/1.088, allocations: 175.8 MB / 478.4 MB, free: 8.496 MB / 382.1 MB " [Timeout remaining time 178] 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.00197/0.00197, allocations: 73.39 kB / 0.6652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1992, allocations: 94.54 MB / 0.7575 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00375/0.203, allocations: 1.774 MB / 0.7593 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3815/0.5845, allocations: 1.039 MB / 0.7603 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.5846, allocations: 2.375 kB / 0.7603 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.5853, allocations: 163.8 kB / 0.7604 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.5856, allocations: 109.3 kB / 0.7605 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.5862, allocations: 169.2 kB / 0.7607 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.5865, allocations: 165.6 kB / 0.7609 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.5866, allocations: 27.22 kB / 0.7609 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.5868, allocations: 68.05 kB / 0.761 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.5869, allocations: 77.72 kB / 0.761 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.587, allocations: 8.875 kB / 0.761 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.5872, allocations: 58.5 kB / 0.7611 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.5872, allocations: 45.3 kB / 0.7611 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.5873, allocations: 62.92 kB / 0.7612 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.5877, allocations: 200.3 kB / 0.7614 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5877, allocations: 0.6562 kB / 0.7614 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5877, allocations: 1.094 kB / 0.7614 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5877, allocations: 1.219 kB / 0.7614 GB, free: 7.848 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.0007206/0.5884, allocations: 0.5019 MB / 0.7619 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5885, allocations: 10.98 kB / 0.7619 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.5885, allocations: 36.45 kB / 0.7619 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.5886, allocations: 16.62 kB / 0.7619 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.5888, allocations: 252 kB / 0.7622 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5889, allocations: 4.656 kB / 0.7622 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.5889, allocations: 9.234 kB / 0.7622 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.5891, allocations: 86.08 kB / 0.7623 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5891, allocations: 0 / 0.7623 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5891, allocations: 4.25 kB / 0.7623 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.5891, allocations: 4.391 kB / 0.7623 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.5892, allocations: 38.72 kB / 0.7623 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.5897, allocations: 352 kB / 0.7627 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.5899, allocations: 74.03 kB / 0.7627 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.59, allocations: 31.27 kB / 0.7628 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.59, allocations: 1.062 kB / 0.7628 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.5902, allocations: 81.11 kB / 0.7628 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.5902, allocations: 0 / 0.7628 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003517/0.5905, allocations: 148.5 kB / 0.763 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5906, allocations: 80.56 kB / 0.7631 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.5908, allocations: 269.3 kB / 0.7633 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.5908, allocations: 25.7 kB / 0.7633 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.5909, allocations: 118.6 kB / 0.7634 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.5909, allocations: 25.67 kB / 0.7635 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.5909, allocations: 27.95 kB / 0.7635 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.591, allocations: 332 kB / 0.7638 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.5911, allocations: 23.17 kB / 0.7638 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.5911, allocations: 68.23 kB / 0.7639 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.5913, allocations: 73.72 kB / 0.764 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5913, allocations: 0 / 0.764 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001871/0.5915, allocations: 121.4 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5915, allocations: 5.688 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5915, allocations: 3.141 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5915, allocations: 1.062 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.5916, allocations: 19.05 kB / 0.7641 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5916, allocations: 4.422 kB / 0.7641 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.5917, allocations: 8.953 kB / 0.7641 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5917, allocations: 6.125 kB / 0.7641 GB, free: 5.879 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.0001055/0.5918, allocations: 143.3 kB / 0.7643 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.5918, allocations: 18.94 kB / 0.7643 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.5918, allocations: 17.89 kB / 0.7643 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.5919, allocations: 3.734 kB / 0.7643 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5919, allocations: 4 kB / 0.7643 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5919, allocations: 5.625 kB / 0.7643 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.592, allocations: 222.9 kB / 0.7645 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.592, allocations: 0 / 0.7645 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.5921, allocations: 4.469 kB / 0.7645 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5921, allocations: 0.9688 kB / 0.7645 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.5921, allocations: 1.906 kB / 0.7645 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5921, allocations: 5.672 kB / 0.7645 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5921, allocations: 3.625 kB / 0.7645 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.5923, allocations: 154.4 kB / 0.7647 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.5923, allocations: 98.5 kB / 0.7648 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.5923, allocations: 2.078 kB / 0.7648 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/0.5924, allocations: 4.453 kB / 0.7648 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.5924, allocations: 9.641 kB / 0.7648 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5925, allocations: 6.312 kB / 0.7648 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001806/0.5926, allocations: 193.7 kB / 0.765 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5926, allocations: 0 / 0.765 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000261/0.5929, allocations: 35.2 kB / 0.765 GB, free: 5.258 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.001828/0.5947, allocations: 1.004 MB / 0.766 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.5949, allocations: 72.16 kB / 0.7661 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5949, allocations: 4.062 kB / 0.7661 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.595, allocations: 33.64 kB / 0.7661 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.5953, allocations: 40.38 kB / 0.7662 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5977, allocations: 1.96 MB / 0.7681 GB, free: 19.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.5981, allocations: 0.7265 MB / 0.7688 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.146e-05/0.5982, allocations: 18.45 kB / 0.7688 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.5983, allocations: 44.36 kB / 0.7688 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.5983, allocations: 0 / 0.7688 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.6312, allocations: 4.538 MB / 0.7733 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.806, allocations: 3.938 kB / 0.7733 GB, free: 17.86 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.24 --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: 12.726017606910318] Failed to read output from testmodel.py, exit status != 0: 8.948706531431526 8.971736771 8.379595744 Calling exit ...