Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0009523/0.0009523, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009017/0.0009017, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9351/0.9351, 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 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.7317/0.7317, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.BooleanScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.748e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001173/0.00119, allocations: 0.6207 MB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.00232, allocations: 1.131 MB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.002368, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.002467, allocations: 4 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.425e-05/0.002491, allocations: 7.922 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.002927, allocations: 126.9 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.003067, allocations: 87.83 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.003155, allocations: 15.91 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.003225, allocations: 47.91 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.003325, allocations: 31.94 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.003344, allocations: 8 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.003398, allocations: 12 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.003459, allocations: 15.98 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.003509, allocations: 27.92 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.003658, allocations: 103.8 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00366, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003661, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003666, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 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.0003801/0.004046, allocations: 304 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.004092, allocations: 13.47 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.004123, allocations: 38.69 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.00416, allocations: 4.938 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.00431, allocations: 133.7 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.004323, allocations: 8.359 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.004337, allocations: 4.375 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.004435, allocations: 50.19 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.004443, allocations: 192 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004452, allocations: 384 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.004459, allocations: 8.125 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.004482, allocations: 8 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.004753, allocations: 248 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.004798, allocations: 34.44 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.004812, allocations: 8.859 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.004818, allocations: 0 / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.004928, allocations: 67.45 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.004929, allocations: 3.938 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001665/0.005096, allocations: 69.58 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.005129, allocations: 51.41 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.005199, allocations: 105.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.005217, allocations: 29.7 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.00526, allocations: 88.09 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.005271, allocations: 11.94 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.005317, allocations: 33.69 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.005454, allocations: 318.8 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.005581, allocations: 57.69 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.005658, allocations: 80.25 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.098e-05/0.005749, allocations: 80.2 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.005754, allocations: 3.938 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002343/0.005988, allocations: 177.3 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.006037, allocations: 37.69 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.006045, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.006063, allocations: 4.094 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.006088, allocations: 4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.006096, allocations: 4 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.00627, allocations: 27.97 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.006285, allocations: 7.938 kB / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.303e-05/0.006378, allocations: 122.7 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.006389, allocations: 7.953 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.006418, allocations: 8 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.006422, allocations: 4 kB / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.006429, allocations: 0 / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.006433, allocations: 240 / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006543, allocations: 132.7 kB / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.006545, allocations: 0 / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.006556, allocations: 7.984 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.006559, allocations: 3.984 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.006565, allocations: 0 / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.006567, allocations: 0 / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006569, allocations: 0 / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.006675, allocations: 81.06 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.006684, allocations: 4 kB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.006697, allocations: 7.984 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.459e-05/0.006711, allocations: 0 / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.006746, allocations: 3.938 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.006754, allocations: 8 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.006796, allocations: 83.27 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006796, allocations: 0 / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000163/0.006959, allocations: 27.83 kB / 0.6227 GB, free: 8.578 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003663/0.007325, allocations: 0.6163 MB / 0.6233 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.007537, allocations: 137 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007539, allocations: 0 / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.00756, allocations: 12 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.007775, allocations: 10.22 kB / 0.6235 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.009035, allocations: 1.485 MB / 0.6249 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.912e-05/0.009094, allocations: 63.34 kB / 0.625 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.00913, allocations: 7.984 kB / 0.625 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.009164, allocations: 16.69 kB / 0.625 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/0.009165, allocations: 3.938 kB / 0.625 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.02735, allocations: 2.741 MB / 0.6277 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.877, allocations: 0 / 0.6277 GB, free: 3.492 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_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_BooleanScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.766970903612673] Failed to read output from testmodel.py, exit status != 0: 6.967771928757429 6.982452864 6.97586505 Calling exit ...