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.001155/0.001155, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001253/0.001253, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9689/0.9689, allocations: 230.6 MB / 256 MB, free: 9.617 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.7942/0.7942, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.0009401/0.0009401, allocations: 66.41 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5006, allocations: 102 MB / 0.8178 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002271/0.5029, allocations: 1.8 MB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.5044, allocations: 1.123 MB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.5045, allocations: 1 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.5051, allocations: 172.4 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.5054, allocations: 161.1 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.5058, allocations: 139.3 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.506, allocations: 173.2 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.5061, allocations: 20.91 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.5062, allocations: 82.06 kB / 0.8214 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.5063, allocations: 75.61 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.5063, allocations: 9.406 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.5064, allocations: 66.55 kB / 0.8215 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.5065, allocations: 49.05 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.5065, allocations: 46.28 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.5068, allocations: 206.3 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5068, allocations: 0 / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5068, allocations: 0 / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.5068, allocations: 0 / 0.8218 GB, free: 14.42 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.0006797/0.5075, allocations: 434.8 kB / 0.8222 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5076, allocations: 9.625 kB / 0.8222 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.5076, allocations: 38.81 kB / 0.8223 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.5076, allocations: 20.52 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.5079, allocations: 196.9 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5079, allocations: 3.5 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.5079, allocations: 7.094 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.5081, allocations: 79.91 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5081, allocations: 0 / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5081, allocations: 4.969 kB / 0.8225 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5081, allocations: 7.469 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.5082, allocations: 36.45 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.5087, allocations: 323.9 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.5088, allocations: 73.25 kB / 0.823 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.5089, allocations: 30.7 kB / 0.823 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.5089, allocations: 1.031 kB / 0.823 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.5091, allocations: 88.31 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.5091, allocations: 0 / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003146/0.5094, allocations: 141.7 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5094, allocations: 57.11 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.5097, allocations: 279.3 kB / 0.8235 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5097, allocations: 30.73 kB / 0.8236 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.5098, allocations: 120.8 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.5099, allocations: 26.44 kB / 0.8237 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.5099, allocations: 28.73 kB / 0.8237 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.51, allocations: 330.4 kB / 0.8241 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.5101, allocations: 27.42 kB / 0.8241 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.5102, allocations: 80.67 kB / 0.8242 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5103, allocations: 76.28 kB / 0.8242 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5103, allocations: 0 / 0.8242 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001663/0.5105, allocations: 128.1 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5105, allocations: 7.062 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5105, allocations: 1.125 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5105, allocations: 1.281 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.5106, allocations: 10.28 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5106, allocations: 1.328 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.5106, allocations: 21.03 kB / 0.8244 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5106, allocations: 1.906 kB / 0.8244 GB, free: 12.32 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.0001054/0.5108, allocations: 140 kB / 0.8245 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.5108, allocations: 20.56 kB / 0.8245 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.511, allocations: 136.3 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.511, allocations: 3.594 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.511, allocations: 0 / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.511, allocations: 4.641 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.5112, allocations: 190 kB / 0.8249 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5112, allocations: 0 / 0.8249 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.5112, allocations: 5 kB / 0.8249 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5112, allocations: 2.25 kB / 0.8249 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5112, allocations: 6.203 kB / 0.8249 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5112, allocations: 4 kB / 0.8249 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5112, allocations: 0 / 0.8249 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.5114, allocations: 160.7 kB / 0.825 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.5114, allocations: 19.3 kB / 0.8251 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.5114, allocations: 2.297 kB / 0.8251 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.698e-05/0.5115, allocations: 6.125 kB / 0.8251 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.5115, allocations: 11.09 kB / 0.8251 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5115, allocations: 3.219 kB / 0.8251 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001467/0.5117, allocations: 198.7 kB / 0.8253 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5117, allocations: 0 / 0.8253 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001868/0.5118, allocations: 33.08 kB / 0.8253 GB, free: 11.68 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 (8): * Single equations (assignments): 5 * 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.001224/0.5131, allocations: 1.036 MB / 0.8263 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.5133, allocations: 71.39 kB / 0.8264 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5133, allocations: 2.656 kB / 0.8264 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.5133, allocations: 35.73 kB / 0.8264 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.5136, allocations: 51.66 kB / 0.8265 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.5154, allocations: 2.003 MB / 0.8284 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.546e-05/0.5155, allocations: 113 kB / 0.8285 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.925e-05/0.5156, allocations: 23 kB / 0.8285 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.5157, allocations: 54.03 kB / 0.8286 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.5157, allocations: 4 kB / 0.8286 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.5366, allocations: 5.283 MB / 0.8338 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/7.309, allocations: 11.59 kB / 0.8338 GB, free: 7.91 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.280698608141392] Failed to read output from testmodel.py, exit status != 0: 7.407739830203354 7.420528243 6.910769912 Calling exit ...