Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009258/0.0009258, 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.001356/0.001356, 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.59 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.7962/0.7962, allocations: 203.5 MB / 0.5039 GB, free: 10.31 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.Logical.Validation.Nor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IDEAS_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.001/0.001, allocations: 65.47 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.4999, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001545/0.5014, allocations: 0.6358 MB / 0.818 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.5027, allocations: 1.209 MB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.5027, allocations: 3.562 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.5027, allocations: 3.938 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.5028, allocations: 18.3 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.5034, allocations: 216.8 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.5036, allocations: 170.2 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.5037, allocations: 4.281 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.5038, allocations: 71.28 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.504, allocations: 60.61 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.504, allocations: 19.56 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.5041, allocations: 23.12 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.5041, allocations: 10.66 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.5042, allocations: 55.19 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.5044, allocations: 156.8 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5044, allocations: 0.5156 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.198e-06/0.5044, allocations: 0 / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5044, allocations: 0 / 0.82 GB, free: 15.64 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.0004527/0.5049, allocations: 358.2 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5049, allocations: 10.72 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.505, allocations: 36.02 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.505, allocations: 22.5 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.5051, allocations: 113.4 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5051, allocations: 4.938 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.5051, allocations: 10.23 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.5052, allocations: 49.67 kB / 0.8205 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5052, allocations: 10.72 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5052, allocations: 0.5156 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5053, allocations: 0 / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.5053, allocations: 12.56 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.5057, allocations: 296.9 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.219e-05/0.5058, allocations: 34.47 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.5058, allocations: 21.59 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.5058, allocations: 1.312 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.506, allocations: 79.27 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.506, allocations: 0 / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002233/0.5063, allocations: 105.7 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.5063, allocations: 56.05 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.5064, allocations: 120.4 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.5064, allocations: 35.45 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.5064, allocations: 92.33 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.5065, allocations: 17.78 kB / 0.8214 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.5065, allocations: 47.14 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.5066, allocations: 324.1 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5068, allocations: 120.5 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.5069, allocations: 156.4 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.5071, allocations: 160.5 kB / 0.8222 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5071, allocations: 0.9375 kB / 0.8222 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003369/0.5074, allocations: 327.3 kB / 0.8225 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.5075, allocations: 66.09 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5075, allocations: 2.781 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5075, allocations: 0.6094 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.5075, allocations: 10.03 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5075, allocations: 0 / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.5077, allocations: 64.38 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5077, allocations: 14.12 kB / 0.8226 GB, free: 13.31 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 8.062e-05/0.5078, allocations: 121.9 kB / 0.8227 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.5078, allocations: 7.734 kB / 0.8227 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.5079, allocations: 10 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5079, allocations: 0 / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5079, allocations: 0.6562 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5079, allocations: 3.391 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.508, allocations: 148.7 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.508, allocations: 4.703 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.508, allocations: 6.25 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.508, allocations: 1.281 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.508, allocations: 2.672 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.508, allocations: 0 / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.508, allocations: 0 / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.5081, allocations: 114.3 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-06/0.5081, allocations: 2.719 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.5082, allocations: 1.906 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.5082, allocations: 5.562 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.5082, allocations: 12.58 kB / 0.823 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.5082, allocations: 7.328 kB / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.5083, allocations: 94.31 kB / 0.8231 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5083, allocations: 3.938 kB / 0.8231 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001683/0.5084, allocations: 35.75 kB / 0.8232 GB, free: 12.8 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.0006061/0.509, allocations: 0.6507 MB / 0.8238 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.5093, allocations: 276.6 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5093, allocations: 1.156 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.5094, allocations: 27.64 kB / 0.8241 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5096, allocations: 18.25 kB / 0.8241 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.5112, allocations: 1.961 MB / 0.826 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.5112, allocations: 67.67 kB / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.5113, allocations: 13.09 kB / 0.8261 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.5113, allocations: 25.09 kB / 0.8261 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.5113, allocations: 0 / 0.8261 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.5316, allocations: 3.624 MB / 0.8297 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.892, allocations: 2.781 kB / 0.8297 GB, free: 9.125 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.903401372022927] Failed to read output from testmodel.py, exit status != 0: 7.9716850011609495 7.983309457 7.4766747780000005 Calling exit ...