Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009191/0.0009191, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008812/0.0008812, allocations: 208.1 kB / 22.25 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 0.9917/0.9917, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8171/0.8171, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IDEAS_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.0009869/0.0009869, allocations: 71.98 kB / 0.7178 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5468, allocations: 102 MB / 0.8174 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001507/0.5483, allocations: 0.6949 MB / 0.8181 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.5496, allocations: 1.277 MB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.5497, allocations: 4.688 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.5498, allocations: 12.59 kB / 0.8193 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.5498, allocations: 14.11 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.5505, allocations: 242.4 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.5508, allocations: 247.9 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.551, allocations: 19.7 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.5511, allocations: 106.7 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.5512, allocations: 77.23 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.5513, allocations: 23.59 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.5514, allocations: 36.58 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.5514, allocations: 35.16 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.5515, allocations: 75.47 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.5518, allocations: 230.4 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5518, allocations: 0 / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5518, allocations: 0 / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5518, allocations: 0.6094 kB / 0.8204 GB, free: 15.28 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.0005273/0.5524, allocations: 438.5 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5524, allocations: 13.78 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.5525, allocations: 47.31 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.5527, allocations: 53.09 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.5531, allocations: 194.2 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.5531, allocations: 13.42 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.5532, allocations: 17.64 kB / 0.8211 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5534, allocations: 128.2 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.5534, allocations: 3.938 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5534, allocations: 8.453 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.5534, allocations: 10.97 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.5534, allocations: 44.3 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.554, allocations: 0.6046 MB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.554, allocations: 44.88 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.554, allocations: 14.8 kB / 0.8219 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.554, allocations: 5.312 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.5543, allocations: 90.38 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5543, allocations: 4 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002235/0.5545, allocations: 107.8 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5545, allocations: 79.88 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5547, allocations: 171 kB / 0.8224 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.5547, allocations: 33.8 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.5548, allocations: 123 kB / 0.8225 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.5548, allocations: 20.97 kB / 0.8226 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.5549, allocations: 55.47 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.5549, allocations: 322.3 kB / 0.8229 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.555, allocations: 117.6 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5552, allocations: 231.8 kB / 0.8232 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.5553, allocations: 177.4 kB / 0.8234 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5553, allocations: 1.094 kB / 0.8234 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003179/0.5557, allocations: 331.5 kB / 0.8237 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.5557, allocations: 72.33 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5557, allocations: 1.406 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5557, allocations: 2.875 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.5557, allocations: 5.812 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5558, allocations: 2.688 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.5559, allocations: 55.27 kB / 0.8239 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.556, allocations: 21.95 kB / 0.8239 GB, free: 12.27 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.0001125/0.5561, allocations: 142.5 kB / 0.824 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.5561, allocations: 12.39 kB / 0.824 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.5561, allocations: 13.72 kB / 0.8241 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5562, allocations: 2.641 kB / 0.8241 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5562, allocations: 0 / 0.8241 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5562, allocations: 1.438 kB / 0.8241 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.5563, allocations: 171.7 kB / 0.8242 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5563, allocations: 0.7969 kB / 0.8242 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.5563, allocations: 1.531 kB / 0.8242 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5563, allocations: 6.219 kB / 0.8242 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.5563, allocations: 2.406 kB / 0.8242 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5563, allocations: 96 / 0.8242 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5563, allocations: 5.25 kB / 0.8242 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.5565, allocations: 125.2 kB / 0.8244 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.5565, allocations: 8.359 kB / 0.8244 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.5565, allocations: 2.094 kB / 0.8244 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.5565, allocations: 1.062 kB / 0.8244 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.5565, allocations: 10.33 kB / 0.8244 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5565, allocations: 3.594 kB / 0.8244 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.5566, allocations: 118.4 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5566, allocations: 0 / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001974/0.5568, allocations: 42.03 kB / 0.8245 GB, free: 11.73 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.0003984/0.5572, allocations: 0.665 MB / 0.8252 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.5575, allocations: 272.7 kB / 0.8254 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5575, allocations: 1.438 kB / 0.8254 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.5576, allocations: 22 kB / 0.8255 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.5578, allocations: 28.78 kB / 0.8255 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5598, allocations: 2.169 MB / 0.8276 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.443e-05/0.5599, allocations: 96.75 kB / 0.8277 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.481e-05/0.5599, allocations: 14.14 kB / 0.8277 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.56, allocations: 39.66 kB / 0.8278 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/0.56, allocations: 3.938 kB / 0.8278 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.5812, allocations: 4.235 MB / 0.8319 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.543, allocations: 1.781 kB / 0.8319 GB, free: 7.855 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.584539209958166] Failed to read output from testmodel.py, exit status != 0: 7.620986528228968 7.632955892 7.078051918 Calling exit ...