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.0009138/0.0009138, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009415/0.0009415, allocations: 209.2 kB / 22.24 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.578 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.7718/0.7718, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.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: 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.0009538/0.0009538, allocations: 74.59 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5174, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001607/0.519, allocations: 0.6383 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.5203, allocations: 1.21 MB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.5204, allocations: 0 / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.5204, allocations: 3.938 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.5205, allocations: 8.391 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.5212, allocations: 224.5 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.5215, allocations: 173.8 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.5216, allocations: 3.609 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.5217, allocations: 74.81 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.5219, allocations: 57.38 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.5219, allocations: 13.69 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.522, allocations: 24.5 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.522, allocations: 12.48 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.5221, allocations: 56.72 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.5223, allocations: 151.5 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5223, allocations: 8 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5223, allocations: 0 / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.5223, allocations: 1.062 kB / 0.8204 GB, free: 15.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004726/0.5228, allocations: 356.6 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5228, allocations: 8.469 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.5229, allocations: 35.27 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.5229, allocations: 12.95 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.523, allocations: 114.6 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.523, allocations: 6.234 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.523, allocations: 10.67 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.5232, allocations: 46.5 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5232, allocations: 7.938 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5232, allocations: 0.75 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.5232, allocations: 6.062 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.5232, allocations: 13 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.5237, allocations: 300 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.5237, allocations: 32.12 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.5238, allocations: 15.5 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.5238, allocations: 6.094 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.524, allocations: 82.36 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.524, allocations: 4 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002471/0.5242, allocations: 109.7 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.5243, allocations: 52.16 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.5244, allocations: 120.7 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5244, allocations: 29.8 kB / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.5244, allocations: 96.27 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.5244, allocations: 17.66 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.5245, allocations: 50.45 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.5246, allocations: 317 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.5247, allocations: 121.4 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.5249, allocations: 163 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.525, allocations: 156.6 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.525, allocations: 0 / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003434/0.5254, allocations: 320 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.5254, allocations: 67.27 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5254, allocations: 2.812 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5255, allocations: 5.281 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.293e-05/0.5255, allocations: 7.266 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5255, allocations: 1.344 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.5257, allocations: 60.39 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.5257, allocations: 12.8 kB / 0.823 GB, free: 13.12 MB / 0.6198 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 9.498e-05/0.5258, allocations: 127.5 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.5258, allocations: 11.86 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.5259, allocations: 10.81 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5259, allocations: 0 / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5259, allocations: 2.234 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.5259, allocations: 0 / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.526, allocations: 144 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.526, allocations: 3.938 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.526, allocations: 2.25 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.526, allocations: 0.5156 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.526, allocations: 1.938 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.526, allocations: 5.281 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.526, allocations: 5.078 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.5261, allocations: 120.9 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.5261, allocations: 1.625 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5262, allocations: 6.656 kB / 0.8234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.5262, allocations: 2.188 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.5262, allocations: 5.812 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5262, allocations: 2.438 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.5263, allocations: 91.2 kB / 0.8235 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5263, allocations: 0 / 0.8235 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000178/0.5264, allocations: 34.88 kB / 0.8236 GB, free: 12.62 MB / 0.6198 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.000368/0.5268, allocations: 0.6554 MB / 0.8242 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.5271, allocations: 287.1 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5271, allocations: 0 / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.5271, allocations: 17.78 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.5273, allocations: 20.53 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.5291, allocations: 1.964 MB / 0.8264 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.888e-05/0.5292, allocations: 70.62 kB / 0.8265 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.5292, allocations: 9.578 kB / 0.8265 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.5293, allocations: 16.73 kB / 0.8265 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.5293, allocations: 0 / 0.8265 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.5472, allocations: 3.638 MB / 0.8301 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/7.243, allocations: 13.17 kB / 0.8301 GB, free: 8.926 MB / 0.6198 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: 10.232706101145595] Failed to read output from testmodel.py, exit status != 0: 7.322313640732318 7.333153232 6.808740871 Calling exit ...