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.0008808/0.0008808, 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.001078/0.001078, 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.9026/0.9026, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7263/0.7263, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.416e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001279/0.001304, allocations: 0.639 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.002554, allocations: 1.213 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.002599, allocations: 11.94 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.00263, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.002702, allocations: 11.86 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.003234, allocations: 221 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.003419, allocations: 167.7 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.003512, allocations: 19.91 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003615, allocations: 91.94 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.003714, allocations: 51.84 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.00374, allocations: 16 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.0038, allocations: 27.98 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.003819, allocations: 7.984 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.003878, allocations: 55.89 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004066, allocations: 179.6 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004068, allocations: 0 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004069, allocations: 0 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.004074, allocations: 0 / 0.6207 GB, free: 10.96 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.0006574/0.004731, allocations: 353.6 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.004773, allocations: 16.03 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.639e-05/0.004799, allocations: 34.69 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.004841, allocations: 12.89 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.086e-05/0.004922, allocations: 117.7 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.004936, allocations: 8.359 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.004955, allocations: 12.31 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.005046, allocations: 46.25 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005053, allocations: 4.188 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.005061, allocations: 384 / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.005066, allocations: 4.125 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.005099, allocations: 23.92 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.00548, allocations: 287.9 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.005544, allocations: 34.56 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.005565, allocations: 12.86 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.005575, allocations: 3.938 kB / 0.6217 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.005698, allocations: 79.41 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.005699, allocations: 4 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001985/0.005897, allocations: 101.6 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.005931, allocations: 59.39 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.005997, allocations: 117.8 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.006018, allocations: 33.7 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.006061, allocations: 88.14 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.006076, allocations: 19.89 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.006138, allocations: 49.69 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.006215, allocations: 314.8 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.006346, allocations: 127.3 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.006485, allocations: 151.7 kB / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.006634, allocations: 163.6 kB / 0.6229 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.006639, allocations: 3.938 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003434/0.006982, allocations: 328.7 kB / 0.6232 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.00703, allocations: 75.33 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007036, allocations: 0 / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.007052, allocations: 0 / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.476e-05/0.007077, allocations: 7.984 kB / 0.6233 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.007086, allocations: 3.938 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.007312, allocations: 56 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.007338, allocations: 12.06 kB / 0.6234 GB, free: 7.934 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 0.0001004/0.007439, allocations: 130.8 kB / 0.6235 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.00745, allocations: 11.95 kB / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.007479, allocations: 4.438 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.007483, allocations: 7.922 kB / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.00749, allocations: 0 / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.007496, allocations: 4 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.007605, allocations: 144.7 kB / 0.6237 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007607, allocations: 0 / 0.6237 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-06/0.007615, allocations: 8 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007617, allocations: 0 / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007625, allocations: 0 / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.007626, allocations: 0 / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007628, allocations: 0 / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.007751, allocations: 117 kB / 0.6238 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.007761, allocations: 7.953 kB / 0.6238 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.007776, allocations: 7.984 kB / 0.6238 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.00779, allocations: 4 kB / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.00784, allocations: 7.969 kB / 0.6238 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.007845, allocations: 4 kB / 0.6238 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.00789, allocations: 87.28 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.00789, allocations: 0 / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000185/0.008075, allocations: 39.92 kB / 0.6239 GB, free: 7.285 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.000366/0.008441, allocations: 0.6436 MB / 0.6246 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.008762, allocations: 282.1 kB / 0.6248 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.008764, allocations: 256 / 0.6248 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.008799, allocations: 24.47 kB / 0.6249 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.009005, allocations: 16.36 kB / 0.6249 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.01063, allocations: 1.964 MB / 0.6268 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.01069, allocations: 67.34 kB / 0.6269 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.01073, allocations: 11.98 kB / 0.6269 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01077, allocations: 20.5 kB / 0.6269 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of SimCode: time 9.52e-07/0.01078, allocations: 0 / 0.6269 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.02862, allocations: 3.751 MB / 0.6306 GB, free: 464 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.735, allocations: 0 / 0.6306 GB, free: 464 kB / 0.5886 GB " [Timeout remaining time 653] (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: 9.437893914990127] Failed to read output from testmodel.py, exit status != 0: 6.815405969507992 6.827997703 6.821176109 Calling exit ...