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.0008921/0.0008921, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001137/0.001137, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.582 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.818/0.818, allocations: 203.8 MB / 0.5042 GB, free: 10.38 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.000977/0.000977, allocations: 68.84 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4966, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001361/0.498, allocations: 0.6205 MB / 0.8184 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.4989, allocations: 1.141 MB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.499, allocations: 1.156 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.208e-05/0.4991, allocations: 3.938 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.07e-05/0.4991, allocations: 5.812 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.4995, allocations: 124.6 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.4996, allocations: 86.36 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.334e-05/0.4997, allocations: 6.203 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.4998, allocations: 38.73 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.4999, allocations: 24.45 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.4999, allocations: 10.78 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.5, allocations: 33.95 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.5, allocations: 9.062 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.5001, allocations: 30.42 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.5003, allocations: 88.27 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5003, allocations: 1.438 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5003, allocations: 0 / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5003, allocations: 0 / 0.82 GB, free: 15.61 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.0004002/0.5007, allocations: 302.9 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5007, allocations: 9.266 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.5008, allocations: 36.62 kB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.5008, allocations: 11.27 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.501, allocations: 127.3 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.501, allocations: 3.734 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.501, allocations: 8.422 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5011, allocations: 48.16 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5011, allocations: 7.875 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5011, allocations: 0.7969 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.5011, allocations: 3.906 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.636e-05/0.5011, allocations: 9.094 kB / 0.8205 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.5014, allocations: 258.9 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/0.5015, allocations: 30.09 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.5015, allocations: 7.781 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.5015, allocations: 0.9062 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.5016, allocations: 57.8 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5016, allocations: 0 / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000158/0.5018, allocations: 70.64 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.5018, allocations: 55.91 kB / 0.821 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.5019, allocations: 110.8 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.5019, allocations: 27.3 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.5019, allocations: 88.47 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.5019, allocations: 8.516 kB / 0.8212 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.502, allocations: 32.78 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.502, allocations: 315.9 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.5021, allocations: 59.58 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.5022, allocations: 78.3 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.5022, allocations: 86.91 kB / 0.8217 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5022, allocations: 0 / 0.8217 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001603/0.5024, allocations: 181.3 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5024, allocations: 42.98 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5024, allocations: 0 / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5025, allocations: 1.906 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.391e-05/0.5025, allocations: 3.781 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5025, allocations: 0 / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5026, allocations: 22.34 kB / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.5026, allocations: 5.234 kB / 0.822 GB, free: 13.68 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 6.049e-05/0.5027, allocations: 120.4 kB / 0.8221 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-06/0.5027, allocations: 6.281 kB / 0.8221 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.5027, allocations: 5.375 kB / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5027, allocations: 4.312 kB / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5027, allocations: 3.938 kB / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5027, allocations: 4 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.834e-05/0.5028, allocations: 138.3 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5028, allocations: 0 / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.5028, allocations: 0 / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5028, allocations: 0.7969 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.5028, allocations: 2.438 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5028, allocations: 3.938 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5028, allocations: 8.641 kB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.622e-05/0.5029, allocations: 84.67 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.5029, allocations: 2.562 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.5029, allocations: 0.6094 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-06/0.5029, allocations: 1.469 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.5029, allocations: 3.094 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.5029, allocations: 4.422 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.5029, allocations: 82.47 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5029, allocations: 0 / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001357/0.5031, allocations: 25.31 kB / 0.8225 GB, free: 13.2 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.0002764/0.5034, allocations: 0.6228 MB / 0.8231 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.5035, allocations: 136.9 kB / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5035, allocations: 0 / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.5035, allocations: 7.828 kB / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.5037, allocations: 11.8 kB / 0.8232 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5049, allocations: 1.487 MB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.5049, allocations: 72.42 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.505, allocations: 3.391 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.505, allocations: 14 kB / 0.8247 GB, free: 11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.505, allocations: 1.375 kB / 0.8247 GB, free: 11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.52, allocations: 2.605 MB / 0.8273 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.447/6.967, allocations: 5.859 kB / 0.8273 GB, free: 10.09 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 & /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: 10.017396918963641] Failed to read output from testmodel.py, exit status != 0: 7.043722128029913 7.057094028 6.554803345 Calling exit ...