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.0007857/0.0007857, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007884/0.0007884, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8842/0.8842, 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.7137/0.7137, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.766e-06/2.766e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.346e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001381/0.001404, allocations: 0.6418 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.00255, allocations: 1.217 MB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.002588, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.002614, allocations: 3.938 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.002673, allocations: 15.88 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.003173, allocations: 220.8 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003352, allocations: 167.7 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.003445, allocations: 11.98 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003555, allocations: 95.86 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.003665, allocations: 47.91 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.003695, allocations: 20 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.003812, allocations: 27.98 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.003831, allocations: 7.938 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.003893, allocations: 55.94 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004085, allocations: 179.6 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004086, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004088, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.004092, allocations: 0 / 0.6207 GB, free: 10.93 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.0003729/0.004464, allocations: 357.6 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.0045, allocations: 8.031 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.411e-05/0.004524, allocations: 30.75 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.004564, allocations: 16.89 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.083e-05/0.004634, allocations: 121.6 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004649, allocations: 12.36 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.004667, allocations: 8.375 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.004759, allocations: 46.25 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.004765, allocations: 192 / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004775, allocations: 4.375 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.00478, allocations: 4.125 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.004811, allocations: 19.92 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.005162, allocations: 291.9 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.005224, allocations: 34.56 kB / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.005246, allocations: 12.86 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.005257, allocations: 7.938 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.005384, allocations: 75.47 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005384, allocations: 0 / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002074/0.005592, allocations: 113.5 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.005626, allocations: 55.39 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.0057, allocations: 117.8 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.00572, allocations: 29.7 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.005766, allocations: 92.14 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.005847, allocations: 19.89 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.005907, allocations: 49.69 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.00598, allocations: 318.8 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.006095, allocations: 115.4 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.006222, allocations: 163.6 kB / 0.6228 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.006346, allocations: 155.6 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.00635, allocations: 3.938 kB / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003097/0.00666, allocations: 336.7 kB / 0.6232 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.0067, allocations: 71.33 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.006705, allocations: 0 / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.006717, allocations: 4 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-05/0.006734, allocations: 3.984 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.006742, allocations: 4 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.006936, allocations: 56 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.006956, allocations: 8.062 kB / 0.6234 GB, free: 7.91 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.775e-05/0.007033, allocations: 130.7 kB / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.007044, allocations: 15.95 kB / 0.6235 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.007066, allocations: 4.438 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.007069, allocations: 4 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.007074, allocations: 0 / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007077, allocations: 0 / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.007166, allocations: 148.7 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007167, allocations: 0 / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/0.00717, allocations: 4 kB / 0.6237 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007172, allocations: 0 / 0.6237 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.00718, allocations: 8 kB / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007181, allocations: 0 / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007182, allocations: 0 / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.007283, allocations: 113 kB / 0.6238 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.007291, allocations: 7.953 kB / 0.6238 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.007304, allocations: 11.92 kB / 0.6238 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.007315, allocations: 0 / 0.6238 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.00735, allocations: 7.984 kB / 0.6238 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.007355, allocations: 4 kB / 0.6238 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.007388, allocations: 91.28 kB / 0.6239 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007388, allocations: 0 / 0.6239 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000172/0.00756, allocations: 35.92 kB / 0.6239 GB, free: 7.262 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.0003057/0.007866, allocations: 0.6514 MB / 0.6246 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.008105, allocations: 278.1 kB / 0.6248 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008107, allocations: 0 / 0.6248 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.008138, allocations: 20.47 kB / 0.6249 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.008306, allocations: 20.61 kB / 0.6249 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.009877, allocations: 1.965 MB / 0.6268 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.009934, allocations: 67.34 kB / 0.6269 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.009964, allocations: 7.984 kB / 0.6269 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.01001, allocations: 20.5 kB / 0.6269 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/0.01001, allocations: 0 / 0.6269 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.02548, allocations: 3.754 MB / 0.6306 GB, free: 436 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.884/6.909, allocations: 4.062 kB / 0.6306 GB, free: 432 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.659054652787745] Failed to read output from testmodel.py, exit status != 0: 6.995267019607127 7.009622532 7.002838479 Calling exit ...