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.0007811/0.0007811, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008309/0.0008309, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.801 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.8252/0.8252, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001052/0.001052, allocations: 71.89 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5305, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001457/0.5319, allocations: 0.7153 MB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.5332, allocations: 1.298 MB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.5333, allocations: 1.344 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.5334, allocations: 13.72 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.5334, allocations: 10.41 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.534, allocations: 255.4 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.5343, allocations: 245 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.5344, allocations: 23.22 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.5345, allocations: 106 kB / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.5347, allocations: 84.08 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.5347, allocations: 20.34 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.5348, allocations: 43.08 kB / 0.8206 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.5349, allocations: 33.84 kB / 0.8206 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.5349, allocations: 92.64 kB / 0.8207 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.5352, allocations: 234.7 kB / 0.8209 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5352, allocations: 0 / 0.8209 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5352, allocations: 4 kB / 0.8209 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5352, allocations: 0 / 0.8209 GB, free: 15.37 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.0004826/0.5357, allocations: 441.2 kB / 0.8214 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5357, allocations: 9.562 kB / 0.8214 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.5358, allocations: 40.89 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.5361, allocations: 53.81 kB / 0.8215 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.5364, allocations: 198.7 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5364, allocations: 7.562 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.5365, allocations: 20.19 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.5367, allocations: 127.2 kB / 0.8218 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5367, allocations: 3.938 kB / 0.8218 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5367, allocations: 3.047 kB / 0.8218 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5367, allocations: 5.344 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.5367, allocations: 54.12 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.5373, allocations: 0.6318 MB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.5374, allocations: 44.19 kB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.5374, allocations: 21.8 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.5375, allocations: 5.969 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.5377, allocations: 92.58 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.5377, allocations: 0 / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002406/0.538, allocations: 104.1 kB / 0.8227 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.538, allocations: 80.05 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.5381, allocations: 170.2 kB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.5382, allocations: 33.98 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.5382, allocations: 122.8 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.5383, allocations: 16.75 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.5383, allocations: 58 kB / 0.8232 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5384, allocations: 326 kB / 0.8235 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.5385, allocations: 57.98 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.5387, allocations: 114.7 kB / 0.8237 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.5388, allocations: 179.2 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5388, allocations: 1.656 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000322/0.5391, allocations: 270.5 kB / 0.8241 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.5392, allocations: 67.64 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5392, allocations: 3.141 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5392, allocations: 1.969 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.362e-05/0.5393, allocations: 4.672 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5393, allocations: 1.312 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.5395, allocations: 61.62 kB / 0.8242 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.5395, allocations: 16.84 kB / 0.8242 GB, free: 12.62 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.0001332/0.5397, allocations: 140.5 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.5397, allocations: 14.19 kB / 0.8244 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.5397, allocations: 13.5 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5397, allocations: 1 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5398, allocations: 1.25 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.5398, allocations: 0.7969 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.5399, allocations: 178.2 kB / 0.8246 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5399, allocations: 4 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.5399, allocations: 2.969 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5399, allocations: 1.781 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5399, allocations: 9.75 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5399, allocations: 1.219 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.54, allocations: 0.5156 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.5401, allocations: 118.5 kB / 0.8247 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.5401, allocations: 12.7 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.5401, allocations: 6.438 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.727e-05/0.5401, allocations: 5 kB / 0.8247 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.5402, allocations: 5.766 kB / 0.8247 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.5402, allocations: 2.672 kB / 0.8247 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.5403, allocations: 120.6 kB / 0.8249 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5403, allocations: 0 / 0.8249 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001962/0.5405, allocations: 41.64 kB / 0.8249 GB, free: 12.07 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.00044/0.5409, allocations: 0.6582 MB / 0.8255 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.5412, allocations: 203.8 kB / 0.8257 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5412, allocations: 0.5 kB / 0.8257 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.5413, allocations: 26.16 kB / 0.8258 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.5415, allocations: 17.47 kB / 0.8258 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.5435, allocations: 1.939 MB / 0.8277 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.5438, allocations: 0.7081 MB / 0.8284 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.5438, allocations: 11.62 kB / 0.8284 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.5439, allocations: 41.22 kB / 0.8284 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5439, allocations: 0 / 0.8284 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.5637, allocations: 3.642 MB / 0.832 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/7.245, allocations: 5.078 kB / 0.832 GB, free: 8.391 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.315382095053792] Failed to read output from testmodel.py, exit status != 0: 7.3292687949724495 7.340144314 6.803002132 Calling exit ...