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.0009427/0.0009427, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000945/0.000945, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9256/0.9256, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7504/0.7504, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 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.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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.245e-05, allocations: 6.281 kB / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001382/0.001404, allocations: 0.6856 MB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.002664, allocations: 1.279 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.002711, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.002805, allocations: 15.75 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.002853, allocations: 23.84 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.003434, allocations: 241.1 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.003677, allocations: 247.6 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.003798, allocations: 23.97 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.003937, allocations: 139.8 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004058, allocations: 71.83 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.004088, allocations: 20 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.004162, allocations: 31.92 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.004219, allocations: 43.84 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.004285, allocations: 63.88 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.00453, allocations: 263.3 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004532, allocations: 4 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.924e-06/0.004534, allocations: 3.984 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.004538, allocations: 0 / 0.6211 GB, free: 10.56 MB / 0.5886 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.0004431/0.004981, allocations: 425.1 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.005018, allocations: 17.41 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.005047, allocations: 42.73 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.005282, allocations: 60.8 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.005623, allocations: 200.9 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.005637, allocations: 12.38 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.005662, allocations: 16.38 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.005818, allocations: 135.8 kB / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.005827, allocations: 4.125 kB / 0.622 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005836, allocations: 384 / 0.622 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005842, allocations: 7.938 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.0059, allocations: 47.97 kB / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.006347, allocations: 0.5979 MB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.006397, allocations: 41.16 kB / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.006414, allocations: 13.78 kB / 0.6227 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.006421, allocations: 8 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.006553, allocations: 93.02 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.006554, allocations: 0 / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0001873/0.006741, allocations: 105.5 kB / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.006779, allocations: 81.11 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.006887, allocations: 173 kB / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.006911, allocations: 33.7 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.006977, allocations: 124 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.00699, allocations: 23.88 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.007056, allocations: 61.62 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.00714, allocations: 326.8 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.007242, allocations: 111.4 kB / 0.6238 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.007376, allocations: 231.3 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.007512, allocations: 178.5 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.007515, allocations: 8.031 kB / 0.6242 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002839/0.007799, allocations: 324.2 kB / 0.6245 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.007837, allocations: 75.33 kB / 0.6245 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007841, allocations: 0 / 0.6245 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.007853, allocations: 4 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.458e-05/0.007868, allocations: 4 kB / 0.6245 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.007874, allocations: 0 / 0.6245 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.00804, allocations: 56.14 kB / 0.6246 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.008062, allocations: 19.98 kB / 0.6246 GB, free: 6.57 MB / 0.5886 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 8.675e-05/0.008148, allocations: 142.7 kB / 0.6248 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.00816, allocations: 7.953 kB / 0.6248 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.008188, allocations: 16.28 kB / 0.6248 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008191, allocations: 4 kB / 0.6248 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.008197, allocations: 7.984 kB / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.0082, allocations: 4 kB / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.008312, allocations: 172.7 kB / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.008313, allocations: 0 / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.008316, allocations: 0 / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.008318, allocations: 0 / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.008325, allocations: 7.938 kB / 0.625 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008326, allocations: 0 / 0.625 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008327, allocations: 0 / 0.625 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.545e-05/0.008422, allocations: 117.9 kB / 0.6251 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.008432, allocations: 11.95 kB / 0.6251 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.008445, allocations: 7.922 kB / 0.6251 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.008458, allocations: 8 kB / 0.6251 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.008479, allocations: 0 / 0.6251 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.008484, allocations: 7.984 kB / 0.6251 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.008542, allocations: 120.1 kB / 0.6252 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008542, allocations: 0 / 0.6252 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001704/0.008712, allocations: 39.89 kB / 0.6253 GB, free: 5.828 MB / 0.5886 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.0002903/0.009002, allocations: 0.6561 MB / 0.6259 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.009246, allocations: 266.5 kB / 0.6262 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009248, allocations: 4.062 kB / 0.6262 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.009275, allocations: 27.91 kB / 0.6262 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.009433, allocations: 24.02 kB / 0.6262 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.01094, allocations: 2.156 MB / 0.6283 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.518e-05/0.01101, allocations: 101.8 kB / 0.6284 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.01104, allocations: 12.92 kB / 0.6284 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.01108, allocations: 36.48 kB / 0.6285 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.01108, allocations: 4 kB / 0.6285 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.02729, allocations: 4.358 MB / 0.6327 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/6.825, allocations: 6.734 kB / 0.6327 GB, free: 14.13 MB / 0.6042 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: 9.638442260213196] Failed to read output from testmodel.py, exit status != 0: 6.915034255944192 6.926735417 6.920423281 Calling exit ...