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.00141/0.00141, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001385/0.001385, allocations: 212.1 kB / 22.24 MB, free: 3.586 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 0.9986/0.9986, allocations: 230.6 MB / 256 MB, free: 9.613 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.799/0.799, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.001361/0.001361, allocations: 71.52 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4892, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001472/0.4907, allocations: 0.63 MB / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.4919, allocations: 1.209 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.4919, allocations: 3.531 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.4919, allocations: 4.547 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.492, allocations: 5.109 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.4926, allocations: 224.5 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4928, allocations: 168.7 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.4929, allocations: 9.422 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.493, allocations: 70.25 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4931, allocations: 57.69 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4931, allocations: 13.09 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.4932, allocations: 25.92 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.4932, allocations: 19.34 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.4933, allocations: 48.53 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.4935, allocations: 155.5 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4936, allocations: 0 / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4936, allocations: 3.938 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.4936, allocations: 0 / 0.82 GB, free: 15.65 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.0004849/0.494, allocations: 364.5 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4941, allocations: 8.188 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.4941, allocations: 33.33 kB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.4942, allocations: 15.8 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.587e-05/0.4943, allocations: 108.1 kB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4943, allocations: 9.734 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4943, allocations: 8.844 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4944, allocations: 50.91 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4944, allocations: 3.938 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4944, allocations: 4.609 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4944, allocations: 3.5 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.4945, allocations: 17.39 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.4949, allocations: 296.8 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/0.495, allocations: 30.77 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.495, allocations: 19.5 kB / 0.8209 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.495, allocations: 4.844 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.4952, allocations: 87.17 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.4952, allocations: 0 / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002413/0.4954, allocations: 99.84 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.4955, allocations: 54.3 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.4956, allocations: 125.8 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.4956, allocations: 33.2 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.4959, allocations: 94.77 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.496, allocations: 16.66 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.496, allocations: 49.55 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.4961, allocations: 330.9 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4962, allocations: 117.3 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4964, allocations: 154.5 kB / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4965, allocations: 160.7 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4965, allocations: 0 / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003685/0.4969, allocations: 323.4 kB / 0.8225 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.4969, allocations: 67.66 kB / 0.8225 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4969, allocations: 2.469 kB / 0.8225 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.497, allocations: 5.641 kB / 0.8225 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.782e-05/0.497, allocations: 6.797 kB / 0.8225 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.497, allocations: 2.219 kB / 0.8225 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.4973, allocations: 52.38 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.4973, allocations: 24.11 kB / 0.8226 GB, free: 13.32 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.409e-05/0.4974, allocations: 128.8 kB / 0.8227 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.4974, allocations: 6.203 kB / 0.8228 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.4974, allocations: 10.5 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4974, allocations: 2.906 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4974, allocations: 0.75 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4974, allocations: 0 / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.4976, allocations: 142.9 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4976, allocations: 0.7031 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.4976, allocations: 6.672 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4976, allocations: 7.938 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4976, allocations: 2.531 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4976, allocations: 0 / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4976, allocations: 0.75 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4977, allocations: 116.4 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.4977, allocations: 7.984 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4977, allocations: 1.188 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.4977, allocations: 4.719 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.4978, allocations: 7.094 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4978, allocations: 3.625 kB / 0.8231 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.4978, allocations: 90.02 kB / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4978, allocations: 4 kB / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000171/0.498, allocations: 32 kB / 0.8232 GB, free: 12.82 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.0003701/0.4984, allocations: 0.6503 MB / 0.8238 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.4987, allocations: 281.8 kB / 0.8241 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4987, allocations: 0 / 0.8241 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.4987, allocations: 24.17 kB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.4989, allocations: 22.44 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.5006, allocations: 1.958 MB / 0.826 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.011e-05/0.5007, allocations: 70.33 kB / 0.8261 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.861e-05/0.5007, allocations: 12.67 kB / 0.8261 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.5008, allocations: 20.58 kB / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.5008, allocations: 0 / 0.8261 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5222, allocations: 3.631 MB / 0.8297 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/7.193, allocations: 9.953 kB / 0.8297 GB, free: 9.141 MB / 0.6198 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: 10.339904407970607] Failed to read output from testmodel.py, exit status != 0: 7.272734559606761 7.290711662 6.793765537 Calling exit ...