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.0007099/0.0007099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007319/0.0007319, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001405/0.001405, allocations: 241.4 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6652/0.6652, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.914e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002129/0.002148, allocations: 1.798 MB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2298/0.2319, allocations: 1.097 MB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.232, allocations: 1.469 kB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.2325, allocations: 170.4 kB / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.2328, allocations: 162 kB / 0.6494 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2331, allocations: 143.8 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2333, allocations: 174.9 kB / 0.6497 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.2334, allocations: 15.06 kB / 0.6498 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2335, allocations: 97.7 kB / 0.6499 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.2336, allocations: 69.95 kB / 0.6499 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2336, allocations: 8.344 kB / 0.6499 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2337, allocations: 68.34 kB / 0.65 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.2338, allocations: 46.91 kB / 0.65 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.2338, allocations: 34.69 kB / 0.6501 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.234, allocations: 212.2 kB / 0.6503 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.234, allocations: 2.031 kB / 0.6503 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.72e-07/0.234, allocations: 0 / 0.6503 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2341, allocations: 0 / 0.6503 GB, free: 55.69 MB / 0.5573 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.0004948/0.2345, allocations: 433.9 kB / 0.6507 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2346, allocations: 11.22 kB / 0.6507 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.1e-05/0.2346, allocations: 40.05 kB / 0.6507 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.2346, allocations: 16.34 kB / 0.6508 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2348, allocations: 193.1 kB / 0.6509 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.2348, allocations: 2.469 kB / 0.6509 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.2349, allocations: 6.703 kB / 0.6509 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.235, allocations: 79.95 kB / 0.651 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.235, allocations: 0 / 0.651 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.235, allocations: 0.5 kB / 0.651 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.235, allocations: 4.75 kB / 0.651 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.2351, allocations: 37.97 kB / 0.6511 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.2354, allocations: 327 kB / 0.6514 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.2355, allocations: 72.81 kB / 0.6514 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.2356, allocations: 31.88 kB / 0.6515 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2356, allocations: 4.047 kB / 0.6515 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.912e-05/0.2357, allocations: 92.42 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.2357, allocations: 2.281 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002078/0.2359, allocations: 149.6 kB / 0.6517 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.2359, allocations: 52.97 kB / 0.6518 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.2361, allocations: 280 kB / 0.652 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.2361, allocations: 30.52 kB / 0.6521 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.2361, allocations: 117.1 kB / 0.6522 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.2361, allocations: 30.73 kB / 0.6522 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2362, allocations: 28.58 kB / 0.6522 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.859e-05/0.2362, allocations: 334.6 kB / 0.6525 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.2363, allocations: 26.98 kB / 0.6526 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.2363, allocations: 80.95 kB / 0.6527 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/0.2364, allocations: 76.61 kB / 0.6527 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2364, allocations: 0 / 0.6527 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001158/0.2365, allocations: 121.3 kB / 0.6528 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2365, allocations: 6.094 kB / 0.6528 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2365, allocations: 3.125 kB / 0.6528 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2365, allocations: 1.688 kB / 0.6529 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.2366, allocations: 9.734 kB / 0.6529 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2366, allocations: 1.688 kB / 0.6529 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.2366, allocations: 8.922 kB / 0.6529 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2366, allocations: 3.844 kB / 0.6529 GB, free: 53.88 MB / 0.5573 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 7.388e-05/0.2367, allocations: 148.8 kB / 0.653 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2367, allocations: 18.16 kB / 0.653 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2368, allocations: 133.2 kB / 0.6532 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.2369, allocations: 5.781 kB / 0.6532 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2369, allocations: 3.406 kB / 0.6532 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2369, allocations: 0.7031 kB / 0.6532 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.237, allocations: 195.1 kB / 0.6534 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.237, allocations: 0 / 0.6534 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.237, allocations: 6 kB / 0.6534 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.237, allocations: 0.6875 kB / 0.6534 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.237, allocations: 12.69 kB / 0.6534 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.237, allocations: 0 / 0.6534 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.237, allocations: 0 / 0.6534 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2371, allocations: 150.1 kB / 0.6535 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.2371, allocations: 27.23 kB / 0.6535 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.2372, allocations: 2.391 kB / 0.6535 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.2372, allocations: 9.781 kB / 0.6536 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.2372, allocations: 10.3 kB / 0.6536 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2372, allocations: 4.812 kB / 0.6536 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000115/0.2373, allocations: 198.8 kB / 0.6538 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2373, allocations: 0.5625 kB / 0.6538 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001643/0.2375, allocations: 31.16 kB / 0.6538 GB, free: 53.25 MB / 0.5573 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.0008203/0.2383, allocations: 1.036 MB / 0.6548 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2385, allocations: 79.59 kB / 0.6549 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2385, allocations: 0 / 0.6549 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.2385, allocations: 33.91 kB / 0.6549 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.2387, allocations: 39.77 kB / 0.6549 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2401, allocations: 2.033 MB / 0.6569 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.2402, allocations: 111.6 kB / 0.657 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.769e-05/0.2402, allocations: 23.16 kB / 0.6571 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.2403, allocations: 55.47 kB / 0.6571 GB, free: 51 MB / 0.5573 GB Notification: Performance of SimCode: time 6.62e-07/0.2403, allocations: 0 / 0.6571 GB, free: 51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.2563, allocations: 5.449 MB / 0.6624 GB, free: 49.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/6.815, allocations: 0 / 0.6624 GB, free: 49.52 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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: 9.353149125352502] Failed to read output from testmodel.py, exit status != 0: 6.909373395144939 6.918567171 6.682165833 Calling exit ...