Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0007883/0.0007883, 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.0008197/0.0008197, 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.9545/0.9545, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7229/0.7229, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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.Logical.Validation.Nor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.819e-06, allocations: 4 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.654e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001343/0.001369, allocations: 0.6439 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.002723, allocations: 1.217 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.002769, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.002796, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.002865, allocations: 11.88 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.003369, allocations: 222.2 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.003539, allocations: 167.7 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.003627, allocations: 8 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003732, allocations: 99.84 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.003831, allocations: 51.91 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.003854, allocations: 12 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.003915, allocations: 31.94 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.003935, allocations: 3.984 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.003994, allocations: 51.95 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004171, allocations: 187.5 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004174, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004175, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.00418, allocations: 0 / 0.6207 GB, free: 10.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003945/0.004575, allocations: 357.5 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004613, allocations: 9.469 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.468e-05/0.004638, allocations: 34.73 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.004677, allocations: 12.89 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.004751, allocations: 117.7 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.004765, allocations: 8.375 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.004785, allocations: 12.38 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.004875, allocations: 50.23 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004883, allocations: 192 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.004891, allocations: 384 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004896, allocations: 8.062 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.004935, allocations: 23.92 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.005296, allocations: 284 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.005364, allocations: 30.58 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.005384, allocations: 12.94 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.005396, allocations: 11.94 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.005543, allocations: 79.25 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.005544, allocations: 4 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001935/0.005738, allocations: 109.6 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.005772, allocations: 51.41 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.005842, allocations: 125.8 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.005862, allocations: 29.7 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.005911, allocations: 88.14 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.005923, allocations: 11.91 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.00598, allocations: 49.69 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.006053, allocations: 326.8 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.006164, allocations: 115.4 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.006279, allocations: 159.7 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.006403, allocations: 155.6 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.006407, allocations: 3.938 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000293/0.0067, allocations: 324.2 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.006744, allocations: 67.86 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006749, allocations: 128 / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.006763, allocations: 8 kB / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.006781, allocations: 0 / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.006787, allocations: 7.938 kB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.006989, allocations: 59.81 kB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.007009, allocations: 11.98 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.183e-05/0.007081, allocations: 122.8 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.007091, allocations: 15.94 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.007115, allocations: 8.438 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007118, allocations: 4 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.007123, allocations: 4.062 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.007127, allocations: 0 / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.944e-05/0.007216, allocations: 148.7 kB / 0.6236 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007217, allocations: 3.938 kB / 0.6236 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-06/0.007221, allocations: 0 / 0.6236 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007223, allocations: 0 / 0.6236 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.007233, allocations: 8 kB / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007234, allocations: 0 / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007235, allocations: 4 kB / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.007342, allocations: 113.3 kB / 0.6237 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.00735, allocations: 7.953 kB / 0.6237 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007361, allocations: 0 / 0.6237 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.007377, allocations: 7.984 kB / 0.6237 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.007413, allocations: 7.984 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007419, allocations: 4 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.007456, allocations: 91.27 kB / 0.6238 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007456, allocations: 0 / 0.6238 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000161/0.007617, allocations: 31.94 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0003479/0.007965, allocations: 0.6632 MB / 0.6245 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.008221, allocations: 282.1 kB / 0.6248 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008223, allocations: 0 / 0.6248 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.008252, allocations: 16 kB / 0.6248 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.008433, allocations: 18.45 kB / 0.6248 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.01, allocations: 1.96 MB / 0.6267 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01005, allocations: 71.33 kB / 0.6268 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.01007, allocations: 8 kB / 0.6268 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.01011, allocations: 20.48 kB / 0.6268 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.01011, allocations: 0 / 0.6268 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.02964, allocations: 3.747 MB / 0.6305 GB, free: 500 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/6.827, allocations: 10.39 kB / 0.6305 GB, free: 492 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.572312747128308] Failed to read output from testmodel.py, exit status != 0: 6.90902264136821 6.919898624 6.913938328 Calling exit ...