Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0008953/0.0008953, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.000976/0.000976, allocations: 214.5 kB / 22.25 MB, free: 3.719 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 0.9879/0.9879, allocations: 230.6 MB / 256 MB, free: 9.602 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.7837/0.7837, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.BooleanExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.001001/0.001001, allocations: 62.47 kB / 0.7182 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5803, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001473/0.5817, allocations: 0.7057 MB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.5832, allocations: 1.265 MB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.5833, allocations: 11.31 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.5834, allocations: 14.59 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.5835, allocations: 15.39 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007317/0.5842, allocations: 243.6 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.5845, allocations: 250.1 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.5846, allocations: 20.83 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.5848, allocations: 100.4 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.5849, allocations: 78.55 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.5849, allocations: 18.88 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.5851, allocations: 47.16 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.5851, allocations: 31 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.5852, allocations: 77.11 kB / 0.8206 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.5855, allocations: 228.8 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5855, allocations: 2.672 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5855, allocations: 0 / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5855, allocations: 0 / 0.8208 GB, free: 15.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005474/0.5861, allocations: 441.2 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5861, allocations: 12.75 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.5862, allocations: 47.78 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.5864, allocations: 56.28 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.5868, allocations: 188.2 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5868, allocations: 13.12 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.5869, allocations: 18.69 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.5871, allocations: 131.7 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5871, allocations: 1.531 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5871, allocations: 11.94 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.5871, allocations: 0 / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.5872, allocations: 50.41 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.5878, allocations: 0.6007 MB / 0.8223 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.5878, allocations: 42.38 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.5878, allocations: 13.16 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.5879, allocations: 5.562 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.5881, allocations: 95.62 kB / 0.8225 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5881, allocations: 4 kB / 0.8225 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002211/0.5883, allocations: 106.8 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5883, allocations: 82.53 kB / 0.8226 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.5885, allocations: 167.9 kB / 0.8228 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.5885, allocations: 34.05 kB / 0.8228 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.5886, allocations: 125.6 kB / 0.823 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.5886, allocations: 10.22 kB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.5887, allocations: 58.72 kB / 0.823 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.5887, allocations: 321.9 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5889, allocations: 113.9 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.5894, allocations: 239.1 kB / 0.8237 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.5895, allocations: 179.5 kB / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5896, allocations: 0 / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000347/0.5899, allocations: 337 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.59, allocations: 67.36 kB / 0.8242 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.59, allocations: 1.406 kB / 0.8242 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.59, allocations: 2.344 kB / 0.8242 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.59, allocations: 4.719 kB / 0.8242 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.59, allocations: 7.562 kB / 0.8242 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.5902, allocations: 56.97 kB / 0.8243 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5902, allocations: 19.78 kB / 0.8243 GB, free: 12.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001015/0.5903, allocations: 139.4 kB / 0.8244 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.5904, allocations: 13.78 kB / 0.8245 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.5904, allocations: 14.45 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5904, allocations: 0 / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5904, allocations: 1.25 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5904, allocations: 1.875 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.5905, allocations: 170.8 kB / 0.8246 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5905, allocations: 1.438 kB / 0.8246 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-06/0.5906, allocations: 1.828 kB / 0.8246 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5906, allocations: 9.984 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5906, allocations: 2.484 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5906, allocations: 0 / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5906, allocations: 1.344 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.5907, allocations: 121.6 kB / 0.8248 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.5907, allocations: 7.562 kB / 0.8248 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.5907, allocations: 2.125 kB / 0.8248 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.5908, allocations: 1.719 kB / 0.8248 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.5908, allocations: 9.234 kB / 0.8248 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.5908, allocations: 3.516 kB / 0.8248 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.5909, allocations: 119.4 kB / 0.8249 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5909, allocations: 3.938 kB / 0.8249 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001826/0.591, allocations: 42.97 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000342/0.5914, allocations: 0.6523 MB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.5917, allocations: 274.5 kB / 0.8259 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5917, allocations: 3.938 kB / 0.8259 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.5917, allocations: 19.28 kB / 0.8259 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.5919, allocations: 20.23 kB / 0.8259 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.5937, allocations: 2.185 MB / 0.828 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.659e-05/0.5938, allocations: 96.64 kB / 0.8281 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.5938, allocations: 13.67 kB / 0.8281 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.5938, allocations: 40.11 kB / 0.8282 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5938, allocations: 3.031 kB / 0.8282 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.6156, allocations: 4.243 MB / 0.8323 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/7.314, allocations: 7.156 kB / 0.8323 GB, free: 7.824 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.285396380815655] Failed to read output from testmodel.py, exit status != 0: 7.393845347221941 7.406738149 6.817785544 Calling exit ...