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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000844/0.000844, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 213.7 kB / 22.25 MB, free: 3.711 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9929/0.9929, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7991/0.7991, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.69 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5748, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002357/0.5772, allocations: 1.829 MB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.5787, allocations: 1.209 MB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.5788, allocations: 3.938 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007608/0.5796, allocations: 167.9 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.58, allocations: 161 kB / 0.8211 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.5804, allocations: 138.3 kB / 0.8213 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.5808, allocations: 178.2 kB / 0.8214 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.5809, allocations: 21.2 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.581, allocations: 79.09 kB / 0.8215 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.5812, allocations: 75.88 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.5812, allocations: 11.22 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.5814, allocations: 67.39 kB / 0.8217 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.5814, allocations: 42.89 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.5815, allocations: 74.84 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.5818, allocations: 201.9 kB / 0.822 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5818, allocations: 0 / 0.822 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5818, allocations: 0 / 0.822 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5818, allocations: 1.188 kB / 0.822 GB, free: 14.66 MB / 0.6198 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.0006349/0.5825, allocations: 429.3 kB / 0.8224 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5825, allocations: 14.75 kB / 0.8224 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.5825, allocations: 46.19 kB / 0.8225 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.5826, allocations: 21.02 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.5829, allocations: 198.3 kB / 0.8227 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5829, allocations: 4.344 kB / 0.8227 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.5829, allocations: 8.547 kB / 0.8227 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.5832, allocations: 87.52 kB / 0.8228 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5832, allocations: 0 / 0.8228 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5832, allocations: 7.312 kB / 0.8228 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.5832, allocations: 3.922 kB / 0.8228 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.5833, allocations: 34.56 kB / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.5839, allocations: 326 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.584, allocations: 70.72 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.5841, allocations: 36.77 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.5841, allocations: 1.375 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.5843, allocations: 82.08 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.5843, allocations: 0 / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000293/0.5846, allocations: 140.8 kB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.5846, allocations: 81.2 kB / 0.8235 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.585, allocations: 279 kB / 0.8238 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.585, allocations: 26.77 kB / 0.8238 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.5851, allocations: 122.2 kB / 0.8239 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5851, allocations: 25.05 kB / 0.824 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.5851, allocations: 29.69 kB / 0.824 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.5852, allocations: 329.3 kB / 0.8243 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.5853, allocations: 27.17 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.5854, allocations: 67.23 kB / 0.8244 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.5858, allocations: 73.69 kB / 0.8245 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5858, allocations: 3.938 kB / 0.8245 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001543/0.5859, allocations: 119.3 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5859, allocations: 6.344 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.586, allocations: 0 / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.586, allocations: 1.656 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.586, allocations: 14.98 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.586, allocations: 0 / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.5861, allocations: 17.95 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5861, allocations: 2.281 kB / 0.8246 GB, free: 12.53 MB / 0.6198 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.0001075/0.5862, allocations: 140.5 kB / 0.8247 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.5862, allocations: 15.5 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.5864, allocations: 123.4 kB / 0.8249 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5864, allocations: 11.81 kB / 0.8249 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5864, allocations: 1.188 kB / 0.8249 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5864, allocations: 3.938 kB / 0.8249 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.5866, allocations: 196.8 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5866, allocations: 1.406 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.5866, allocations: 3 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5866, allocations: 1.672 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5866, allocations: 5.781 kB / 0.8251 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5866, allocations: 1.219 kB / 0.8251 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5866, allocations: 0 / 0.8251 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.5868, allocations: 156.5 kB / 0.8252 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.5868, allocations: 19.06 kB / 0.8253 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.5869, allocations: 5.625 kB / 0.8253 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.5869, allocations: 4.656 kB / 0.8253 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.5869, allocations: 8.594 kB / 0.8253 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5869, allocations: 3.312 kB / 0.8253 GB, free: 12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001602/0.5871, allocations: 198.6 kB / 0.8255 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5871, allocations: 7.938 kB / 0.8255 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001918/0.5873, allocations: 32.47 kB / 0.8255 GB, free: 11.88 MB / 0.6198 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.00108/0.5884, allocations: 0.9914 MB / 0.8265 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.5886, allocations: 72.8 kB / 0.8266 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5886, allocations: 1.531 kB / 0.8266 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.5886, allocations: 34.33 kB / 0.8266 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.5888, allocations: 46.56 kB / 0.8266 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.5909, allocations: 1.998 MB / 0.8286 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.5912, allocations: 0.7273 MB / 0.8293 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.302e-05/0.5913, allocations: 18.41 kB / 0.8293 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.5914, allocations: 50.78 kB / 0.8294 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.5914, allocations: 0 / 0.8294 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.6136, allocations: 4.796 MB / 0.834 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/7.3, allocations: 9.641 kB / 0.834 GB, free: 8.004 MB / 0.6198 GB " [Timeout remaining time 653] (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: 10.357009455794469] Failed to read output from testmodel.py, exit status != 0: 7.399641936877742 7.411149992 6.827421881 Calling exit ...