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.0008418/0.0008418, 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.0009636/0.0009636, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9693/0.9693, allocations: 230.6 MB / 256 MB, free: 9.582 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.8167/0.8167, allocations: 203.5 MB / 0.5039 GB, free: 10.67 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.001289/0.001289, allocations: 74.48 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.519, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001364/0.5203, allocations: 0.617 MB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.5213, allocations: 1.135 MB / 0.8191 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.5213, allocations: 4 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.5214, allocations: 7.562 kB / 0.8191 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.5215, allocations: 17.95 kB / 0.8191 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.5219, allocations: 121.8 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.5221, allocations: 193 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.5222, allocations: 6.422 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.5223, allocations: 77.52 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.5225, allocations: 80.39 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.5225, allocations: 19.44 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/0.5226, allocations: 23.48 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.5226, allocations: 33.08 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.5227, allocations: 61.33 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.523, allocations: 195.7 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.523, allocations: 1.5 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.523, allocations: 0 / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.523, 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.0004775/0.5234, allocations: 390.7 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5235, allocations: 7.781 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.5235, allocations: 38.88 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.5236, allocations: 19.17 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.5238, allocations: 156 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5238, allocations: 11.44 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.5238, allocations: 11.58 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5239, allocations: 105.7 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5239, allocations: 3.938 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.524, allocations: 4.484 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.524, allocations: 0 / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.524, allocations: 37.41 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.5244, allocations: 448.6 kB / 0.8211 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/0.5245, allocations: 51.47 kB / 0.8211 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.5245, allocations: 27.64 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-06/0.5245, allocations: 1.094 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.5246, allocations: 113.9 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.5246, allocations: 3.938 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002248/0.5249, allocations: 132.4 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5249, allocations: 82.27 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/0.525, allocations: 137.4 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.525, allocations: 35.73 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.5251, allocations: 104.9 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.5251, allocations: 11.7 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.5252, allocations: 55.88 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.5253, allocations: 317.3 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.5255, allocations: 193 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.5257, allocations: 229.8 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.5259, allocations: 229.9 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5259, allocations: 0 / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000466/0.5264, allocations: 452.6 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.5264, allocations: 64.34 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5264, allocations: 2.25 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5264, allocations: 2.25 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.5264, allocations: 6.375 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5264, allocations: 7.797 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.5267, allocations: 73.12 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.5267, allocations: 14.5 kB / 0.8233 GB, free: 13.07 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 9.131e-05/0.5268, allocations: 132.2 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.5268, allocations: 7.016 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.5268, allocations: 10.19 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5268, allocations: 2 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5268, allocations: 1.062 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5268, allocations: 7.938 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.527, allocations: 152.5 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.527, allocations: 5.25 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.527, allocations: 5.703 kB / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.527, allocations: 1 kB / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.527, allocations: 3.516 kB / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.527, allocations: 0 / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.527, allocations: 1.281 kB / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.5271, allocations: 139.1 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.5271, allocations: 7.234 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.5271, allocations: 1.656 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.5271, allocations: 10.22 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.5272, allocations: 13.12 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5272, allocations: 7.438 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.5272, allocations: 97.06 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5272, allocations: 5.25 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001667/0.5274, allocations: 35.72 kB / 0.8239 GB, free: 12.55 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.0003312/0.5277, allocations: 0.6699 MB / 0.8246 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.5281, allocations: 369.5 kB / 0.8249 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5281, allocations: 4.062 kB / 0.8249 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.5281, allocations: 27.42 kB / 0.825 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.5283, allocations: 24.38 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.002243/0.5306, allocations: 2.444 MB / 0.8274 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.5306, allocations: 86.67 kB / 0.8275 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.5307, allocations: 16.62 kB / 0.8275 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.5307, allocations: 20.44 kB / 0.8275 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.5307, allocations: 0 / 0.8275 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.5484, allocations: 4.217 MB / 0.8316 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.577, allocations: 12.22 kB / 0.8316 GB, free: 8.695 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.559324589092284] Failed to read output from testmodel.py, exit status != 0: 7.656196210999042 7.667967814 7.142849937 Calling exit ...