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.000764/0.000764, 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.001184/0.001184, allocations: 169.9 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.9017/0.9017, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7481/0.7481, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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 3.436e-06/3.436e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.948e-05, allocations: 5.234 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001733/0.001762, allocations: 0.6146 MB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003117, allocations: 1.131 MB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.003164, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.472e-05/0.003258, allocations: 3.938 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.351e-05/0.003282, allocations: 7.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.003685, allocations: 135.1 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003814, allocations: 79.89 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.003896, allocations: 4 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.003963, allocations: 59.88 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.004051, allocations: 23.03 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.00407, allocations: 8 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.004125, allocations: 23.92 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.004182, allocations: 11.92 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.004232, allocations: 31.97 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004378, allocations: 103.8 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00438, allocations: 3.938 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004381, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004385, allocations: 0 / 0.6202 GB, free: 11.48 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.0003707/0.004756, allocations: 300 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004794, allocations: 13.47 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.004824, allocations: 34.73 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.004856, allocations: 4.938 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004993, allocations: 125.7 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.005005, allocations: 8.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.005018, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.768e-05/0.005106, allocations: 54.17 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.005113, allocations: 192 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.00512, allocations: 384 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005126, allocations: 4.125 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.00515, allocations: 12 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.00543, allocations: 256 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.00547, allocations: 26.45 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.163e-05/0.005481, allocations: 4.859 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.005487, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.005596, allocations: 67.45 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.005597, allocations: 4 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.005747, allocations: 77.5 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005777, allocations: 51.41 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.005837, allocations: 109.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.005852, allocations: 25.7 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.005887, allocations: 88.09 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.005896, allocations: 11.95 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.005939, allocations: 29.7 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.006018, allocations: 314.8 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.006081, allocations: 57.69 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.006144, allocations: 84.25 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.297e-05/0.006217, allocations: 88.38 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.00622, allocations: 3.938 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001731/0.006394, allocations: 177 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.006422, allocations: 33.7 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006427, allocations: 4 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.006437, allocations: 0 / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.427e-05/0.006451, allocations: 4.297 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.006458, allocations: 8.094 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.006585, allocations: 27.97 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.006599, allocations: 4 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 6.6e-05/0.006665, allocations: 118.8 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.006674, allocations: 11.94 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.006697, allocations: 4 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006699, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.006703, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006706, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.59e-05/0.006792, allocations: 140.7 kB / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.006793, allocations: 3.938 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-06/0.006796, allocations: 4 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.006797, allocations: 0 / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.006803, allocations: 0 / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.006803, allocations: 0 / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.006805, allocations: 3.984 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.683e-05/0.006872, allocations: 81.06 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.006877, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.006887, allocations: 4 kB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.006895, allocations: 0 / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.006917, allocations: 7.984 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.006921, allocations: 0 / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.00695, allocations: 87.28 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00695, allocations: 0 / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000142/0.007092, allocations: 19.89 kB / 0.6227 GB, free: 8.594 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.0002923/0.007384, allocations: 0.6279 MB / 0.6233 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.00755, allocations: 141 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007551, allocations: 0 / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.007568, allocations: 12.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.0001592/0.007727, allocations: 14.17 kB / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.008837, allocations: 1.485 MB / 0.6249 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.008889, allocations: 67.28 kB / 0.625 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.008911, allocations: 4.234 kB / 0.625 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.008948, allocations: 16.48 kB / 0.625 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of SimCode: time 7.12e-07/0.008949, allocations: 0 / 0.625 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.02678, allocations: 2.727 MB / 0.6277 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.777, allocations: 13.02 kB / 0.6277 GB, free: 3.496 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.508301699534059] Failed to read output from testmodel.py, exit status != 0: 6.860036555677652 6.870312994 6.864082361 Calling exit ...