Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00144/0.00144, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001705/0.001705, allocations: 208.8 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002649/0.002649, allocations: 295.2 kB / 312.7 MB, free: 2.637 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.305/1.305, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002964/0.002964, allocations: 109.3 kB / 0.7395 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1943, allocations: 95.39 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003681/0.198, allocations: 1.791 MB / 0.8344 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2001, allocations: 1.112 MB / 0.8355 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2003, allocations: 0 / 0.8355 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.201, allocations: 169.9 kB / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.2015, allocations: 163.4 kB / 0.8358 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2019, allocations: 139.6 kB / 0.8359 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.2022, allocations: 171.6 kB / 0.8361 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2023, allocations: 13.09 kB / 0.8361 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2025, allocations: 87.62 kB / 0.8362 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.2027, allocations: 71.73 kB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.2027, allocations: 8 kB / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2029, allocations: 67.94 kB / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.203, allocations: 47.78 kB / 0.8364 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.203, allocations: 51.66 kB / 0.8364 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.2034, allocations: 207.4 kB / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2034, allocations: 0 / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2034, allocations: 0 / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2034, allocations: 4 kB / 0.8366 GB, free: 4.207 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.000822/0.2043, allocations: 450.7 kB / 0.8371 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2043, allocations: 9.938 kB / 0.8371 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.2044, allocations: 38.75 kB / 0.8371 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.2044, allocations: 16.84 kB / 0.8371 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.2047, allocations: 190.2 kB / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2048, allocations: 384 / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2048, allocations: 11.94 kB / 0.8373 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.205, allocations: 77.59 kB / 0.8374 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.205, allocations: 0 / 0.8374 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.205, allocations: 0 / 0.8374 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.205, allocations: 8 kB / 0.8374 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2051, allocations: 35.98 kB / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2056, allocations: 319.7 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2058, allocations: 74.66 kB / 0.8378 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.2059, allocations: 32.84 kB / 0.8378 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2059, allocations: 3.984 kB / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.2061, allocations: 79.33 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/0.2061, allocations: 4 kB / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003851/0.2065, allocations: 153.6 kB / 0.8381 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2066, allocations: 59.28 kB / 0.8381 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.2069, allocations: 279.1 kB / 0.8384 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2069, allocations: 25.7 kB / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.207, allocations: 124.1 kB / 0.8385 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.207, allocations: 20.08 kB / 0.8386 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.2071, allocations: 37.7 kB / 0.8386 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2072, allocations: 326.8 kB / 0.8389 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.2073, allocations: 31.92 kB / 0.8389 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2074, allocations: 84.25 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2076, allocations: 77.67 kB / 0.8391 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2076, allocations: 0 / 0.8391 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002222/0.2078, allocations: 113.5 kB / 0.8392 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2078, allocations: 8 kB / 0.8392 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2078, allocations: 3.984 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2078, allocations: 0 / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.2079, allocations: 8 kB / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2079, allocations: 4 kB / 0.8392 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.208, allocations: 23.91 kB / 0.8392 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.208, allocations: 0 / 0.8392 GB, free: 1.309 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.00014/0.2081, allocations: 147 kB / 0.8394 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2082, allocations: 15.91 kB / 0.8394 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.2084, allocations: 131.1 kB / 0.8395 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2084, allocations: 4 kB / 0.8395 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2084, allocations: 0 / 0.8395 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2084, allocations: 7.922 kB / 0.8395 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2087, allocations: 192.6 kB / 0.8397 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2087, allocations: 4 kB / 0.8397 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.2087, allocations: 8 kB / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.2087, allocations: 0 / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2087, allocations: 0 / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2087, allocations: 0 / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2087, allocations: 4 kB / 0.8397 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2089, allocations: 161 kB / 0.8399 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.209, allocations: 15.84 kB / 0.8399 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.209, allocations: 11.98 kB / 0.8399 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.2091, allocations: 0 / 0.8399 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2091, allocations: 11.92 kB / 0.8399 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2091, allocations: 8 kB / 0.8399 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000202/0.2093, allocations: 199.2 kB / 0.8401 GB, free: 336 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2093, allocations: 0 / 0.8401 GB, free: 336 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002574/0.2096, allocations: 39.88 kB / 0.8402 GB, free: 296 kB / 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 (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.002108/0.2117, allocations: 1.027 MB / 0.8412 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.2119, allocations: 75.95 kB / 0.8412 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2119, allocations: 64 / 0.8412 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.212, allocations: 43.92 kB / 0.8413 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.2123, allocations: 44 kB / 0.8413 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.2148, allocations: 2.006 MB / 0.8433 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2149, allocations: 114.6 kB / 0.8434 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.011e-05/0.2149, allocations: 29.7 kB / 0.8434 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.215, allocations: 47.42 kB / 0.8435 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.215, allocations: 0 / 0.8435 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.2523, allocations: 5.291 MB / 0.8486 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.48, allocations: 3.375 kB / 0.8486 GB, free: 7.758 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.003796842880547] Failed to read output from testmodel.py, exit status != 0: 11.649385343771428 11.676928263 11.468638921 Calling exit ...