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.0009661/0.0009661, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008205/0.0008205, allocations: 162 kB / 22.43 MB, free: 2.141 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.8585/0.8585, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7065/0.7065, allocations: 155 MB / 414.2 MB, free: 472 kB / 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: 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.001492/0.001492, allocations: 75.47 kB / 0.6187 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4959, allocations: 102 MB / 0.7182 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001412/0.4973, allocations: 0.6082 MB / 0.7188 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.4985, allocations: 1.137 MB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.4986, allocations: 1.188 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.4987, allocations: 4.594 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.184e-05/0.4987, allocations: 10.31 kB / 0.72 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.4991, allocations: 132.9 kB / 0.7201 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.4993, allocations: 81.45 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.4994, allocations: 12.11 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.4995, allocations: 48.81 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4996, allocations: 30.53 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.4996, allocations: 7.438 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.4997, allocations: 21.3 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.4998, allocations: 10.67 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.4998, allocations: 30.83 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.5, allocations: 113.4 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5001, allocations: 3.938 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5001, allocations: 0 / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.5001, allocations: 1.219 kB / 0.7204 GB, free: 21.66 MB / 0.6355 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.0004695/0.5005, allocations: 306.5 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5006, allocations: 10.5 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.5006, allocations: 36.53 kB / 0.7208 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.5007, allocations: 6.141 kB / 0.7208 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.5008, allocations: 127 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5008, allocations: 8.953 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.5009, allocations: 4.781 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.501, allocations: 52.11 kB / 0.721 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.501, allocations: 3.938 kB / 0.721 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.501, allocations: 1.125 kB / 0.721 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.501, allocations: 0.5156 kB / 0.721 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.5011, allocations: 16.2 kB / 0.721 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.5014, allocations: 259.3 kB / 0.7212 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/0.5015, allocations: 17.55 kB / 0.7212 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.5015, allocations: 12.34 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.5015, allocations: 3.938 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.5017, allocations: 63.83 kB / 0.7213 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.5017, allocations: 0 / 0.7213 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001837/0.5019, allocations: 64.31 kB / 0.7214 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5019, allocations: 53.06 kB / 0.7214 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.5019, allocations: 105.4 kB / 0.7215 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.502, allocations: 36.97 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.502, allocations: 88.69 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.502, allocations: 1.812 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.502, allocations: 33.56 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.5021, allocations: 318.8 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.5021, allocations: 59.94 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.5022, allocations: 81.05 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.5023, allocations: 88.73 kB / 0.7222 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5023, allocations: 0 / 0.7222 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001742/0.5024, allocations: 176 kB / 0.7224 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.5025, allocations: 35.73 kB / 0.7224 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5025, allocations: 0 / 0.7224 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5025, allocations: 1.062 kB / 0.7224 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.5025, allocations: 6.938 kB / 0.7224 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5025, allocations: 6.047 kB / 0.7224 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.5027, allocations: 24.45 kB / 0.7224 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.5027, allocations: 4.859 kB / 0.7225 GB, free: 19.74 MB / 0.6355 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 5.548e-05/0.5027, allocations: 122 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.5027, allocations: 2.219 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.5028, allocations: 9.953 kB / 0.7226 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5028, allocations: 0.7969 kB / 0.7226 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5028, allocations: 1.344 kB / 0.7226 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5028, allocations: 4 kB / 0.7226 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.926e-05/0.5028, allocations: 137.6 kB / 0.7227 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5028, allocations: 5 kB / 0.7227 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.5029, allocations: 0.75 kB / 0.7227 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5029, allocations: 1.188 kB / 0.7227 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5029, allocations: 1.781 kB / 0.7227 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5029, allocations: 0 / 0.7227 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5029, allocations: 3.938 kB / 0.7227 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.821e-05/0.5029, allocations: 86.8 kB / 0.7228 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.503, allocations: 9.219 kB / 0.7228 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.503, allocations: 2.484 kB / 0.7228 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.503, allocations: 4 kB / 0.7228 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.503, allocations: 2.594 kB / 0.7228 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.503, allocations: 6.938 kB / 0.7228 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.179e-05/0.503, allocations: 85.97 kB / 0.7229 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.503, allocations: 0 / 0.7229 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001578/0.5032, allocations: 14.12 kB / 0.7229 GB, free: 19.26 MB / 0.6355 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.0002128/0.5034, allocations: 0.6218 MB / 0.7235 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.5036, allocations: 136.7 kB / 0.7237 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5036, allocations: 192 / 0.7237 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.5036, allocations: 16.16 kB / 0.7237 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.5038, allocations: 15.47 kB / 0.7237 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.5048, allocations: 1.486 MB / 0.7251 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.5049, allocations: 68.36 kB / 0.7252 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.5049, allocations: 2.156 kB / 0.7252 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.505, allocations: 16.77 kB / 0.7252 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/0.505, allocations: 0 / 0.7252 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.5234, allocations: 2.739 MB / 0.7279 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/7.105, allocations: 6.312 kB / 0.7279 GB, free: 16.11 MB / 0.6355 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.718067804118618] Failed to read output from testmodel.py, exit status != 0: 7.181863283040002 7.189670698 6.687845131 Calling exit ...