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.001222/0.001222, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00141/0.00141, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002824/0.002824, allocations: 287.3 kB / 313.5 MB, free: 2.617 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.241/1.241, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",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.004914/0.004914, allocations: 98.34 kB / 0.7403 GB, free: 28.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2034, allocations: 95.38 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003931/0.2074, allocations: 1.806 MB / 0.8352 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2095, allocations: 1.108 MB / 0.8363 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2096, allocations: 0 / 0.8363 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.2103, allocations: 171.5 kB / 0.8364 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.2108, allocations: 161.5 kB / 0.8366 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.2112, allocations: 135.6 kB / 0.8367 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.2115, allocations: 175.6 kB / 0.8369 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2116, allocations: 21.08 kB / 0.8369 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.2118, allocations: 79.62 kB / 0.837 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.212, allocations: 71.75 kB / 0.837 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.212, allocations: 12 kB / 0.837 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.2122, allocations: 67.94 kB / 0.8371 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.2123, allocations: 47.78 kB / 0.8372 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.2124, allocations: 51.66 kB / 0.8372 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.2128, allocations: 207.5 kB / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2128, allocations: 4 kB / 0.8374 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2128, allocations: 0 / 0.8374 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.2128, allocations: 3.984 kB / 0.8374 GB, free: 4.199 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.001067/0.2138, allocations: 446.7 kB / 0.8378 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.2139, allocations: 13.94 kB / 0.8378 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.375e-05/0.2139, allocations: 192 / 0.8378 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.214, allocations: 38.73 kB / 0.8379 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.214, allocations: 16.84 kB / 0.8379 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.2144, allocations: 190.1 kB / 0.8381 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2144, allocations: 8.125 kB / 0.8381 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.2144, allocations: 4 kB / 0.8381 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.2147, allocations: 121 kB / 0.8382 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2147, allocations: 4 kB / 0.8382 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.2147, allocations: 7.984 kB / 0.8382 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2147, allocations: 0 / 0.8382 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.2148, allocations: 35.98 kB / 0.8383 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.2154, allocations: 315.8 kB / 0.8386 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.2156, allocations: 74.66 kB / 0.8386 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.2157, allocations: 28.84 kB / 0.8387 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2157, allocations: 4 kB / 0.8387 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.2159, allocations: 83.33 kB / 0.8387 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.2159, allocations: 0 / 0.8387 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004062/0.2163, allocations: 153.6 kB / 0.8389 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.2164, allocations: 84.98 kB / 0.839 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2167, allocations: 279.1 kB / 0.8392 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2168, allocations: 25.7 kB / 0.8393 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2169, allocations: 128.1 kB / 0.8394 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.2169, allocations: 23.8 kB / 0.8394 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.217, allocations: 29.7 kB / 0.8394 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2171, allocations: 326.8 kB / 0.8397 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.2172, allocations: 31.98 kB / 0.8398 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2173, allocations: 114.8 kB / 0.8399 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.2175, allocations: 77.95 kB / 0.84 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2175, allocations: 0 / 0.84 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002379/0.2177, allocations: 121.5 kB / 0.8401 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2177, allocations: 7.984 kB / 0.8401 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2177, allocations: 4 kB / 0.8401 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2178, allocations: 0 / 0.8401 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.2178, allocations: 12.06 kB / 0.8401 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2178, allocations: 3.938 kB / 0.8401 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.2179, allocations: 7.953 kB / 0.8401 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2179, allocations: 11.97 kB / 0.8401 GB, free: 1.172 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.0001484/0.2181, allocations: 143 kB / 0.8403 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.2181, allocations: 15.91 kB / 0.8403 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.2184, allocations: 139 kB / 0.8404 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2184, allocations: 4 kB / 0.8404 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2184, allocations: 3.938 kB / 0.8404 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2184, allocations: 7.984 kB / 0.8404 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.2186, allocations: 188.6 kB / 0.8406 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2186, allocations: 0 / 0.8406 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.2187, allocations: 7.984 kB / 0.8406 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2187, allocations: 4 kB / 0.8406 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2187, allocations: 0 / 0.8406 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2187, allocations: 0 / 0.8406 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2187, allocations: 3.938 kB / 0.8406 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.219, allocations: 156.9 kB / 0.8408 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.219, allocations: 15.91 kB / 0.8408 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.2191, allocations: 7.984 kB / 0.8408 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.2191, allocations: 4 kB / 0.8408 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.2192, allocations: 11.92 kB / 0.8408 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2192, allocations: 8 kB / 0.8408 GB, free: 396 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002218/0.2194, allocations: 203.1 kB / 0.841 GB, free: 192 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2194, allocations: 0 / 0.841 GB, free: 192 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002709/0.2197, allocations: 35.89 kB / 0.841 GB, free: 156 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.002466/0.2221, allocations: 1.039 MB / 0.842 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.2224, allocations: 67.97 kB / 0.8421 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2224, allocations: 4 kB / 0.8421 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.2225, allocations: 35.92 kB / 0.8421 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2228, allocations: 44.38 kB / 0.8422 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.2254, allocations: 2.01 MB / 0.8442 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2255, allocations: 118.7 kB / 0.8443 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.2256, allocations: 21.36 kB / 0.8443 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.2258, allocations: 47.42 kB / 0.8443 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.2258, allocations: 0 / 0.8443 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.2625, allocations: 5.035 MB / 0.8493 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.56, allocations: 16.86 kB / 0.8493 GB, free: 7.898 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 & /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 os._exit(0), Time elapsed: 15.891697267070413] Failed to read output from testmodel.py, exit status != 0: 11.775725911953487 11.796365313999999 11.579475717 Calling exit ...