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.0008422/0.0008422, 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.001035/0.001035, allocations: 221.7 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.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.793 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.7972/0.7972, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.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: 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.001292/0.001292, allocations: 70.39 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4948, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001374/0.4961, allocations: 0.6137 MB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4972, allocations: 1.168 MB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.4973, allocations: 1.719 kB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.4974, allocations: 0.7031 kB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.726e-05/0.4974, allocations: 6.797 kB / 0.8196 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.498, allocations: 122.3 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.4981, allocations: 88.19 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.4982, allocations: 4.219 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.4983, allocations: 37.8 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4984, allocations: 33.61 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4984, allocations: 12 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.4985, allocations: 30.98 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.4985, allocations: 8.672 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.4986, allocations: 34.61 kB / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.4988, allocations: 89.98 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4988, allocations: 0 / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4988, allocations: 0 / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4988, allocations: 0 / 0.82 GB, free: 15.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003876/0.4992, allocations: 304.7 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4992, allocations: 13.8 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.4993, allocations: 35.41 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.4993, allocations: 7.703 kB / 0.8204 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4994, allocations: 137.5 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4995, allocations: 1.594 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.4995, allocations: 6.938 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.4996, allocations: 47.03 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4996, allocations: 3.938 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.4996, allocations: 0.6562 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4996, allocations: 3.25 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.4996, allocations: 17.69 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.4999, allocations: 272.4 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.5, allocations: 22.59 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.5, allocations: 5.375 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.5, allocations: 3.906 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.5001, allocations: 61.84 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5001, allocations: 0 / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001586/0.5003, allocations: 65.28 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.5003, allocations: 53.72 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.5004, allocations: 104.7 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.5004, allocations: 29.39 kB / 0.8212 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.5004, allocations: 88.3 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.5004, allocations: 3.953 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.5005, allocations: 34.91 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.5006, allocations: 323.2 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.5006, allocations: 26.47 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.5007, allocations: 47.88 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.5008, allocations: 80.47 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5008, allocations: 4 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001819/0.501, allocations: 156.2 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.501, allocations: 38.59 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.501, allocations: 0 / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.501, allocations: 1.625 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.501, allocations: 4.5 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.501, allocations: 6.531 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.5012, allocations: 30.28 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.5012, allocations: 7.922 kB / 0.822 GB, free: 13.98 MB / 0.6198 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 7.358e-05/0.5013, allocations: 121.1 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.5013, allocations: 2.031 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.5013, allocations: 8.641 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5013, allocations: 2.375 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5013, allocations: 0 / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5013, allocations: 0.6094 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.769e-05/0.5014, allocations: 138.9 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5014, allocations: 1.469 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/0.5014, allocations: 4 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5014, allocations: 1.281 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5014, allocations: 0.7969 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5014, allocations: 1.281 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5014, allocations: 0.6562 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.5015, allocations: 89 kB / 0.8224 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.5015, allocations: 5.078 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.5015, allocations: 3.469 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.5015, allocations: 4.797 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.5016, allocations: 1.312 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5016, allocations: 1.469 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.5016, allocations: 87.41 kB / 0.8225 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5016, allocations: 0 / 0.8225 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001538/0.5018, allocations: 19.84 kB / 0.8225 GB, free: 13.51 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: 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.0002917/0.5021, allocations: 0.6161 MB / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.5022, allocations: 109.3 kB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5022, allocations: 0 / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.5022, allocations: 12.73 kB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.5024, allocations: 5.438 kB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5034, allocations: 1.376 MB / 0.8245 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.5036, allocations: 0.681 MB / 0.8252 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.5036, allocations: 3.219 kB / 0.8252 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.5037, allocations: 14.97 kB / 0.8252 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5037, allocations: 0 / 0.8252 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.5204, allocations: 2.098 MB / 0.8273 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/7.207, allocations: 5.766 kB / 0.8273 GB, free: 10.38 MB / 0.6198 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: 10.3176435099449] Failed to read output from testmodel.py, exit status != 0: 7.287283262936398 7.30126882 6.800171731 Calling exit ...