Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0009784/0.0009784, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001244/0.001244, allocations: 222.9 kB / 22.26 MB, free: 3.691 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 1.03/1.03, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8038/0.8038, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001523/0.001523, allocations: 74.59 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5605, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001479/0.562, allocations: 0.6487 MB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.5627, allocations: 0.8262 MB / 0.8193 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.5628, allocations: 0 / 0.8193 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.5629, allocations: 6.781 kB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.04e-05/0.5629, allocations: 0.8438 kB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.563, allocations: 5.969 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.5631, allocations: 29.62 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.5632, allocations: 5.062 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.5632, allocations: 8.891 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.5633, allocations: 13.84 kB / 0.8194 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.5633, allocations: 7.859 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.5633, allocations: 5.188 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.5634, allocations: 10.33 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.5634, allocations: 9.203 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.519e-05/0.5635, allocations: 26.05 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5635, allocations: 3.938 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5635, allocations: 3.938 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5635, allocations: 1.688 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004022/0.5639, allocations: 264.4 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.564, allocations: 15.31 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.564, allocations: 39.69 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.564, allocations: 6.859 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.5641, allocations: 107.6 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5642, allocations: 10.7 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5642, allocations: 1.656 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.5643, allocations: 53.5 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5643, allocations: 3.938 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.5643, allocations: 0 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.5643, allocations: 1.781 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.5644, allocations: 45.69 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.5648, allocations: 245.9 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.5649, allocations: 32.89 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.5649, allocations: 26.7 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5649, allocations: 0 / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.565, allocations: 37.8 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.565, allocations: 0 / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002358/0.5652, allocations: 72.14 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5652, allocations: 55.53 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.5654, allocations: 104.1 kB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5654, allocations: 25.7 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.5655, allocations: 89.59 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.5655, allocations: 4.891 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.5655, allocations: 13.59 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.5656, allocations: 316.1 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.5657, allocations: 21.16 kB / 0.821 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.5657, allocations: 16.08 kB / 0.821 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.5658, allocations: 39.25 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5658, allocations: 1.375 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.5659, allocations: 60.84 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5659, allocations: 13.73 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5659, allocations: 0 / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5659, allocations: 0 / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.566, allocations: 6.062 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.566, allocations: 2.062 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.566, allocations: 4.531 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.566, allocations: 1.156 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 5.717e-05/0.5661, allocations: 113.4 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.5661, allocations: 10.27 kB / 0.8212 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.5661, allocations: 15.7 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.5661, allocations: 256 / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5661, allocations: 2.328 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5661, allocations: 4 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5662, allocations: 136.6 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5662, allocations: 1.312 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.5663, allocations: 7.5 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5663, allocations: 3.938 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.5663, allocations: 0 / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.5663, allocations: 5.875 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5663, allocations: 0.6562 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.5664, allocations: 155.7 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.5664, allocations: 2.219 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.5664, allocations: 4.734 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.5665, allocations: 13.06 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.5665, allocations: 2.547 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5665, allocations: 0 / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.5665, allocations: 82.73 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5665, allocations: 3.938 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000142/0.5667, allocations: 4.75 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003218/0.567, allocations: 0.6933 MB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.5671, allocations: 31.41 kB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5671, allocations: 0 / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.5672, allocations: 21.23 kB / 0.8224 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.5674, allocations: 12.7 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.5684, allocations: 1.223 MB / 0.8236 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.5686, allocations: 0.6785 MB / 0.8242 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.5686, allocations: 3.859 kB / 0.8242 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.5686, allocations: 17.61 kB / 0.8243 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.5687, allocations: 0 / 0.8243 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.587, allocations: 1.395 MB / 0.8256 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/7.142, allocations: 12.7 kB / 0.8256 GB, free: 11.06 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.300940410001203] Failed to read output from testmodel.py, exit status != 0: 7.222168284934014 7.231985629 6.666360129 Calling exit ...