Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001651/0.001651, allocations: 116.8 kB / 17.17 MB, free: 6 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.002144/0.002144, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.053/3.053, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002078/0.002078, allocations: 67.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.131, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002905/1.133, allocations: 1.813 MB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001664/1.135, allocations: 1.194 MB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/1.135, allocations: 0 / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006171/1.136, allocations: 168.4 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/1.136, allocations: 155.6 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/1.137, allocations: 141.8 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/1.137, allocations: 172.1 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/1.137, allocations: 10.88 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/1.137, allocations: 82.62 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/1.137, allocations: 76.12 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/1.137, allocations: 8.594 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/1.137, allocations: 64.14 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/1.137, allocations: 50.92 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/1.137, allocations: 66.14 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/1.138, allocations: 205.9 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.138, allocations: 0 / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/1.138, allocations: 0 / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.138, allocations: 7.219 kB / 1.326 GB, free: 22.15 MB / 1.061 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.0007012/1.138, allocations: 0.4943 MB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.138, allocations: 15.73 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.878e-05/1.138, allocations: 4.172 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/1.138, allocations: 41.56 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/1.138, allocations: 23.86 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/1.139, allocations: 249.9 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.139, allocations: 6.688 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.139, allocations: 6.688 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/1.139, allocations: 84.7 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.139, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.139, allocations: 6.094 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/1.139, allocations: 6.625 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/1.139, allocations: 34.47 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/1.14, allocations: 360.5 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/1.14, allocations: 65.16 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/1.14, allocations: 40.55 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/1.14, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/1.14, allocations: 87.52 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.14, allocations: 0 / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003453/1.14, allocations: 145.6 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.14, allocations: 79.7 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/1.141, allocations: 278.3 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.141, allocations: 31.17 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/1.141, allocations: 119.1 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/1.141, allocations: 24.03 kB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/1.141, allocations: 26.03 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/1.141, allocations: 331.7 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/1.141, allocations: 26.45 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/1.141, allocations: 75.27 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/1.141, allocations: 71.27 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.141, allocations: 5.188 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000217/1.141, allocations: 117.8 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.141, allocations: 5.312 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.141, allocations: 1.219 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.141, allocations: 4.188 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/1.142, allocations: 8.844 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.142, allocations: 8.969 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/1.142, allocations: 8.438 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/1.142, allocations: 5.172 kB / 1.328 GB, free: 19.82 MB / 1.061 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.0001197/1.142, allocations: 143.3 kB / 1.328 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/1.142, allocations: 19.36 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/1.142, allocations: 19.41 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.142, allocations: 6.719 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/1.142, allocations: 8.656 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.142, allocations: 0.9688 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/1.142, allocations: 218.4 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.142, allocations: 1 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/1.142, allocations: 3.281 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.142, allocations: 0 / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.142, allocations: 5.656 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.142, allocations: 0.8125 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.142, allocations: 3.938 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/1.142, allocations: 156.9 kB / 1.329 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/1.142, allocations: 96.97 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/1.142, allocations: 5.406 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/1.142, allocations: 3.688 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.143, allocations: 9.891 kB / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/1.143, allocations: 6.844 kB / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002076/1.143, allocations: 201.1 kB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.143, allocations: 0 / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000269/1.143, allocations: 27.09 kB / 1.329 GB, free: 19.1 MB / 1.061 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.001888/1.145, allocations: 0.9932 MB / 1.33 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002455/1.145, allocations: 68.09 kB / 1.33 GB, free: 18.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.145, allocations: 5.031 kB / 1.33 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/1.145, allocations: 33.58 kB / 1.33 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/1.146, allocations: 45.08 kB / 1.33 GB, free: 18.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/1.148, allocations: 1.998 MB / 1.332 GB, free: 16.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/1.148, allocations: 0.7256 MB / 1.333 GB, free: 16.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.536e-05/1.148, allocations: 36.44 kB / 1.333 GB, free: 16.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/1.148, allocations: 48.47 kB / 1.333 GB, free: 16.14 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.148, allocations: 0 / 1.333 GB, free: 16.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/1.173, allocations: 4.669 MB / 1.338 GB, free: 15.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.585/9.758, allocations: 17.05 kB / 1.338 GB, free: 15.25 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.727954368980136] Failed to read output from testmodel.py, exit status != 0: 9.94246709998697 9.959362195 8.81878511 Calling exit ...