Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.0008299/0.0008299, allocations: 101.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.001031/0.001031, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9509/0.9509, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.802/0.802, allocations: 203.5 MB / 0.5039 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.001192/0.001192, allocations: 64.34 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5398, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001313/0.5411, allocations: 0.6226 MB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.542, allocations: 1.144 MB / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.542, allocations: 0 / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.5421, allocations: 9.344 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.5422, allocations: 11.05 kB / 0.8191 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.5426, allocations: 119.1 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.5428, allocations: 188.4 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5429, allocations: 7.875 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.543, allocations: 81.52 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.5432, allocations: 87.7 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.5432, allocations: 14.44 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.5433, allocations: 32.06 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.5433, allocations: 29.72 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.5434, allocations: 61.83 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.5436, allocations: 198.4 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5436, allocations: 0.75 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5437, allocations: 3.5 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5437, allocations: 0 / 0.8199 GB, free: 15.71 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005125/0.5442, allocations: 377.2 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5442, allocations: 10.97 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.5443, allocations: 42.2 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.5443, allocations: 15.89 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.5445, allocations: 156.6 kB / 0.8205 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5445, allocations: 9.719 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5446, allocations: 12.47 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5447, allocations: 102.1 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5447, allocations: 4.547 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.5447, allocations: 0 / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5448, allocations: 4.281 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.5448, allocations: 36.62 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.5452, allocations: 446.1 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.5453, allocations: 58.23 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.5453, allocations: 27.95 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.5454, allocations: 0 / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.5455, allocations: 113.2 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5455, allocations: 3.938 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002415/0.5457, allocations: 138.2 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.5458, allocations: 77.86 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.5459, allocations: 134.8 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5459, allocations: 36.67 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.546, allocations: 108.6 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.546, allocations: 9.969 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.5461, allocations: 57.67 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.5461, allocations: 316.4 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.5463, allocations: 194.9 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5465, allocations: 223 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.5467, allocations: 222.6 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5467, allocations: 4 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004308/0.5471, allocations: 462.5 kB / 0.8232 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.5472, allocations: 64.44 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5472, allocations: 1.312 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5472, allocations: 1.438 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.858e-05/0.5472, allocations: 6.188 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5472, allocations: 2.25 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.5474, allocations: 75.17 kB / 0.8233 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5475, allocations: 11.86 kB / 0.8233 GB, free: 13.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 8.635e-05/0.5475, allocations: 138.8 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.5476, allocations: 7.922 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.5476, allocations: 7.484 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.5476, allocations: 1.25 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5476, allocations: 0.9844 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5476, allocations: 5.281 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.5477, allocations: 156.5 kB / 0.8236 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5477, allocations: 1.375 kB / 0.8236 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.5477, allocations: 5.828 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5477, allocations: 6.203 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.5477, allocations: 1.969 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5477, allocations: 0 / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5477, allocations: 1.312 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.5478, allocations: 139 kB / 0.8238 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.5478, allocations: 7.172 kB / 0.8238 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.5479, allocations: 2.562 kB / 0.8238 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.5479, allocations: 5.219 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.5479, allocations: 13.62 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5479, allocations: 7.484 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.548, allocations: 97.16 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.548, allocations: 0 / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001725/0.5481, allocations: 43.78 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * 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.0003774/0.5485, allocations: 0.6704 MB / 0.8246 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.5489, allocations: 364.3 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.5489, allocations: 384 / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.5489, allocations: 40.06 kB / 0.825 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.5491, allocations: 22.11 kB / 0.825 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.5513, allocations: 2.445 MB / 0.8274 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.5514, allocations: 87.11 kB / 0.8275 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.5514, allocations: 18.59 kB / 0.8275 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.5515, allocations: 21.41 kB / 0.8275 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5515, allocations: 0 / 0.8275 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.5692, allocations: 4.216 MB / 0.8316 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.424/6.994, allocations: 4 kB / 0.8316 GB, free: 8.707 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.019198287278414] Failed to read output from testmodel.py, exit status != 0: 7.071544476784766 7.081906945 6.53635392 Calling exit ...