Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.003/5.003, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002401/0.002401, allocations: 363 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.158/4.158, allocations: 410.7 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001759/0.001759, allocations: 175.8 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004883, allocations: 16 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6024, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002585/0.6051, allocations: 2.196 MB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.6066, allocations: 0.8741 MB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.6069, allocations: 8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.546e-05/0.607, allocations: 26.11 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.6074, allocations: 69 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.6078, allocations: 142.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.6082, allocations: 403.6 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.6085, allocations: 145.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.6086, allocations: 79.45 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.6088, allocations: 95.31 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.6088, allocations: 8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.6089, allocations: 8.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.6089, allocations: 36.44 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.609, allocations: 93.45 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.6094, allocations: 0.4944 MB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.017e-06/0.6094, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.206e-06/0.6094, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.769e-06/0.6094, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007978/0.6102, allocations: 0.5874 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6103, allocations: 12.28 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.6104, allocations: 43.48 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6108, allocations: 371.3 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.6109, allocations: 28.5 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.6109, allocations: 25.12 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/0.6117, allocations: 329.2 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6117, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.6117, allocations: 19.94 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6118, allocations: 4.5 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.6124, allocations: 252.7 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.6141, allocations: 1.171 MB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.6147, allocations: 249.4 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.6149, allocations: 101.6 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.615, allocations: 5.25 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.615, allocations: 38.52 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.012e-06/0.615, allocations: 1 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0008379/0.6159, allocations: 316.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6159, allocations: 82.08 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.6163, allocations: 338.9 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6164, allocations: 33.64 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.6165, allocations: 196.1 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.6166, allocations: 51.7 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.6166, allocations: 8 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.6167, allocations: 341.6 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.6169, allocations: 87.91 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.6172, allocations: 130.4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.6174, allocations: 93.11 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-06/0.6175, allocations: 0.5312 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005932/0.6181, allocations: 264.2 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.6181, allocations: 105.4 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6181, allocations: 0 / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.6182, allocations: 4 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.6184, allocations: 44.41 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.646e-06/0.6184, allocations: 0.5 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.6186, allocations: 25.44 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.6187, allocations: 4.562 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.275e-06/0.6187, allocations: 4 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003989/0.6191, allocations: 186.7 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.479e-06/0.6191, allocations: 0 / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.749e-06/0.6191, allocations: 3.953 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6193, allocations: 35.92 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.272e-06/0.6193, allocations: 0 / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.6195, allocations: 20.41 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.6195, allocations: 4.812 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.6197, allocations: 244.9 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.6198, allocations: 28.69 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.6199, allocations: 39.22 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.522e-06/0.6199, allocations: 4 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6199, allocations: 0.9688 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6199, allocations: 3.938 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.6204, allocations: 413.9 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-06/0.6204, allocations: 4 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.6207, allocations: 29.77 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.531e-06/0.6207, allocations: 0 / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.6207, allocations: 8 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.933e-06/0.6207, allocations: 7.891 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-06/0.6207, allocations: 1.656 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.6216, allocations: 450.8 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.6217, allocations: 128.8 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.6218, allocations: 8.672 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.622, allocations: 12.59 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.6221, allocations: 12.94 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.6221, allocations: 9.031 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000269/0.6224, allocations: 240.1 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.15e-07/0.6224, allocations: 0 / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000542/0.6229, allocations: 96.19 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001038/0.623, allocations: 102.8 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007755/0.6238, allocations: 292.9 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.6238, allocations: 0.5625 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6241, allocations: 102.3 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.6248, allocations: 75.78 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.6261, allocations: 0.6514 MB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.6264, allocations: 0.7842 MB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.6266, allocations: 26.28 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.6267, allocations: 26.19 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.26e-06/0.6267, allocations: 0 / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.008239/0.6349, allocations: 2.863 MB / 1.477 GB, free: 267.4 MB / 0.8542 GB