Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.AirDerivativeCheck.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003525/0.003529, allocations: 358 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.528/1.528, allocations: 165.8 MB / 183.1 MB, free: 5.379 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.701/3.701, allocations: 410.8 MB / 0.6001 GB, free: 15.2 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 182.2 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 12 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3908, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002221/0.3931, allocations: 1.034 MB / 0.8097 GB, free: 27.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.6319/1.025, allocations: 134.4 MB / 0.9409 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/1.025, allocations: 0 / 0.9409 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/1.025, allocations: 3.797 kB / 0.941 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/1.025, allocations: 12.3 kB / 0.941 GB, free: 1.762 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/1.026, allocations: 228.8 kB / 0.9412 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/1.027, allocations: 73.56 kB / 0.9413 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/1.027, allocations: 2.812 kB / 0.9413 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/1.027, allocations: 30.23 kB / 0.9413 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/1.027, allocations: 35.3 kB / 0.9413 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/1.027, allocations: 3.219 kB / 0.9413 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/1.028, allocations: 246.8 kB / 0.9416 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/1.028, allocations: 16.61 kB / 0.9416 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/1.028, allocations: 37.23 kB / 0.9416 GB, free: 1.715 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/1.028, allocations: 108.7 kB / 0.9417 GB, free: 1.703 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.028, allocations: 0 / 0.9417 GB, free: 1.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.028, allocations: 2.5 kB / 0.9417 GB, free: 1.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/1.028, allocations: 0 / 0.9417 GB, free: 1.703 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005251/1.029, allocations: 370.4 kB / 0.9421 GB, free: 1.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.029, allocations: 8.094 kB / 0.9421 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/1.029, allocations: 34.2 kB / 0.9421 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/1.03, allocations: 167.1 kB / 0.9423 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.03, allocations: 5.031 kB / 0.9423 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/1.03, allocations: 16.72 kB / 0.9423 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/1.03, allocations: 79.73 kB / 0.9424 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.03, allocations: 0 / 0.9424 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/1.03, allocations: 3.125 kB / 0.9424 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.03, allocations: 1.031 kB / 0.9424 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/1.03, allocations: 46.48 kB / 0.9424 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/1.03, allocations: 186.3 kB / 0.9426 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/1.031, allocations: 93.31 kB / 0.9427 GB, free: 0.875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/1.031, allocations: 29.69 kB / 0.9427 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003795/1.031, allocations: 179.6 kB / 0.9429 GB, free: 16.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.031, allocations: 41.73 kB / 0.9429 GB, free: 16.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/1.031, allocations: 1.859 kB / 0.9429 GB, free: 16.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.001886/1.033, allocations: 0.5368 MB / 0.9434 GB, free: 16.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/1.033, allocations: 53.83 kB / 0.9435 GB, free: 16.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/1.033, allocations: 101.5 kB / 0.9436 GB, free: 16.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.033, allocations: 29.95 kB / 0.9436 GB, free: 16.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/1.033, allocations: 80.52 kB / 0.9437 GB, free: 16.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/1.033, allocations: 75.61 kB / 0.9438 GB, free: 16.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/1.033, allocations: 3.312 kB / 0.9438 GB, free: 16.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/1.034, allocations: 320.1 kB / 0.9441 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/1.034, allocations: 32.72 kB / 0.9441 GB, free: 15.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/1.034, allocations: 80.3 kB / 0.9442 GB, free: 15.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/1.034, allocations: 43.11 kB / 0.9442 GB, free: 15.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.034, allocations: 1 kB / 0.9442 GB, free: 15.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00035/1.034, allocations: 156.7 kB / 0.9444 GB, free: 15.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.034, allocations: 9.203 kB / 0.9444 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.034, allocations: 1.312 kB / 0.9444 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.034, allocations: 4.625 kB / 0.9444 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/1.035, allocations: 39 kB / 0.9444 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.035, allocations: 3.5 kB / 0.9444 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/1.035, allocations: 11 kB / 0.9444 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/1.035, allocations: 8.938 kB / 0.9445 GB, free: 15.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.000126/1.035, allocations: 123.2 kB / 0.9446 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/1.035, allocations: 14.73 kB / 0.9446 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/1.035, allocations: 18.89 kB / 0.9446 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.035, allocations: 2.25 kB / 0.9446 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.035, allocations: 0 / 0.9446 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.035, allocations: 93.33 kB / 0.9447 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.035, allocations: 6.219 kB / 0.9447 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.036, allocations: 8.828 kB / 0.9447 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/1.036, allocations: 13.11 kB / 0.9447 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005968/1.036, allocations: 232.1 kB / 0.9449 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005274/1.037, allocations: 373.9 kB / 0.9453 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001123/1.037, allocations: 52.27 kB / 0.9453 GB, free: 15.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.503e-05/1.037, allocations: 77.06 kB / 0.9454 GB, free: 15.01 MB / 490.7 MB Notification: Performance of Backend: time 6.41e-07/1.037, allocations: 0 / 0.9454 GB, free: 15.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008582/1.038, allocations: 226.2 kB / 0.9456 GB, free: 14.93 MB / 490.7 MB Notification: Performance of SimCode: time 0.001209/1.039, allocations: 1.034 MB / 0.9466 GB, free: 14.04 MB / 490.7 MB Notification: Performance of Templates: time 0.007334/1.046, allocations: 2.216 MB / 0.9488 GB, free: 13.78 MB / 490.7 MB