Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0008508/0.0008508, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008761/0.0008761, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9053/0.9053, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.748/0.748, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.36e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002105/0.002129, allocations: 0.6517 MB / 0.6187 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003309, allocations: 0.8592 MB / 0.6196 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.003362, allocations: 0 / 0.6196 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.003473, allocations: 7.875 kB / 0.6196 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.003497, allocations: 0 / 0.6196 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.003695, allocations: 23.86 kB / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.003792, allocations: 35.91 kB / 0.6196 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003907, allocations: 4 kB / 0.6196 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.003986, allocations: 23.91 kB / 0.6197 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.004057, allocations: 15.98 kB / 0.6197 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.004085, allocations: 0 / 0.6197 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.004096, allocations: 8 kB / 0.6197 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.004162, allocations: 11.98 kB / 0.6197 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.004195, allocations: 11.92 kB / 0.6197 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.004306, allocations: 35.94 kB / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00431, allocations: 0 / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.873e-06/0.004312, allocations: 0 / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.004316, allocations: 0 / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000422/0.004738, allocations: 278.2 kB / 0.62 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.004776, allocations: 8.031 kB / 0.62 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.004808, allocations: 38.73 kB / 0.62 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.00483, allocations: 8.938 kB / 0.6201 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.00495, allocations: 125.6 kB / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.004968, allocations: 384 / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.004978, allocations: 8.359 kB / 0.6202 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.005127, allocations: 62.22 kB / 0.6202 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.005133, allocations: 192 / 0.6202 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.005143, allocations: 8.359 kB / 0.6202 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005148, allocations: 4.125 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.00525, allocations: 43.95 kB / 0.6203 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.005533, allocations: 239.9 kB / 0.6205 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.00562, allocations: 42.48 kB / 0.6206 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.005671, allocations: 24.91 kB / 0.6206 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.005684, allocations: 0 / 0.6206 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.005706, allocations: 34.56 kB / 0.6206 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.005707, allocations: 3.938 kB / 0.6206 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002407/0.005947, allocations: 101.5 kB / 0.6207 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.005978, allocations: 51.41 kB / 0.6208 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.006047, allocations: 105.8 kB / 0.6209 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006058, allocations: 29.7 kB / 0.6209 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.006098, allocations: 84.09 kB / 0.621 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.006111, allocations: 4 kB / 0.621 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.006139, allocations: 17.72 kB / 0.621 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.006221, allocations: 314.8 kB / 0.6213 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.006271, allocations: 20.11 kB / 0.6213 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.006311, allocations: 19.97 kB / 0.6213 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.526e-05/0.006397, allocations: 40.83 kB / 0.6214 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.006399, allocations: 3.938 kB / 0.6214 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/0.006514, allocations: 81.48 kB / 0.6215 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006526, allocations: 8.094 kB / 0.6215 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006531, allocations: 0 / 0.6215 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.006543, allocations: 0 / 0.6215 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.006619, allocations: 11.98 kB / 0.6215 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.006623, allocations: 0 / 0.6215 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.006649, allocations: 7.984 kB / 0.6215 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.006653, allocations: 0 / 0.6215 GB, free: 8.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001105/0.006764, allocations: 118.8 kB / 0.6216 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.006776, allocations: 0 / 0.6216 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.006795, allocations: 15.25 kB / 0.6216 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006797, allocations: 4 kB / 0.6216 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006801, allocations: 256 / 0.6216 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.006803, allocations: 0 / 0.6216 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.006918, allocations: 140.7 kB / 0.6218 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006919, allocations: 0 / 0.6218 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.006957, allocations: 11.98 kB / 0.6218 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.00696, allocations: 0 / 0.6218 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.006966, allocations: 0 / 0.6218 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.006969, allocations: 3.938 kB / 0.6218 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006971, allocations: 0 / 0.6218 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.007118, allocations: 171.5 kB / 0.6219 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.007124, allocations: 3.953 kB / 0.6219 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.007135, allocations: 3.984 kB / 0.6219 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.007174, allocations: 4 kB / 0.6219 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.007216, allocations: 11.98 kB / 0.622 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.007218, allocations: 0 / 0.622 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.007245, allocations: 79.28 kB / 0.622 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007245, allocations: 0 / 0.622 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001461/0.007391, allocations: 15.91 kB / 0.622 GB, free: 8.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003293/0.00772, allocations: 0.7006 MB / 0.6227 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.007851, allocations: 43.95 kB / 0.6228 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007853, allocations: 0 / 0.6228 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.007901, allocations: 24.08 kB / 0.6228 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.008087, allocations: 12.53 kB / 0.6228 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.009023, allocations: 1.265 MB / 0.624 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.009072, allocations: 67.44 kB / 0.6241 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.009104, allocations: 0 / 0.6241 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.009145, allocations: 20.48 kB / 0.6241 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.009146, allocations: 0 / 0.6241 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02528, allocations: 2.19 MB / 0.6263 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/6.879, allocations: 14.03 kB / 0.6263 GB, free: 3.957 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.668305698782206] Failed to read output from testmodel.py, exit status != 0: 6.959923678077757 6.966864539 6.960815386 Calling exit ...