Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1867/0.1875, allocations: 82.22 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.008232/0.1958, allocations: 6.283 MB / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.6109/0.8068, allocations: 128.2 MB / 0.7247 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.8079, allocations: 22.75 kB / 0.7247 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.8085, allocations: 135.6 kB / 0.7249 GB, free: 0.582 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.00226/0.8108, allocations: 0.6409 MB / 0.7255 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.8131, allocations: 0.712 MB / 0.7262 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002096/0.8152, allocations: 1.146 MB / 0.7273 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.8172, allocations: 1.237 MB / 0.7285 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.8183, allocations: 0.5371 MB / 0.729 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.8195, allocations: 0.5894 MB / 0.7296 GB, free: 0 / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.8197, allocations: 48.81 kB / 0.7297 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.8213, allocations: 363.6 kB / 0.73 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005067/0.8218, allocations: 301.9 kB / 0.7303 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.8223, allocations: 298.4 kB / 0.7306 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.8253, allocations: 1.835 MB / 0.7324 GB, free: 15.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8253, allocations: 0.7188 kB / 0.7324 GB, free: 15.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8253, allocations: 0 / 0.7324 GB, free: 15.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.8253, allocations: 0.625 kB / 0.7324 GB, free: 15.71 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.00368/0.829, allocations: 1.685 MB / 0.734 GB, free: 14.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8291, allocations: 9.219 kB / 0.734 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006938/0.836, allocations: 1.066 MB / 0.7351 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.8379, allocations: 0.9083 MB / 0.7359 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.838, allocations: 117.7 kB / 0.7361 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.8383, allocations: 151.9 kB / 0.7362 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/0.843, allocations: 2.054 MB / 0.7382 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.8431, allocations: 0 / 0.7382 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.8432, allocations: 67.58 kB / 0.7383 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/0.8433, allocations: 75.58 kB / 0.7383 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006108/0.8494, allocations: 2.451 MB / 0.7407 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.8611, allocations: 6.02 MB / 0.7466 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.8655, allocations: 1.631 MB / 0.7482 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/0.8663, allocations: 493.6 kB / 0.7487 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/0.8687, allocations: 0.9604 MB / 0.7496 GB, free: 8.402 MB / 0.545 GB Notification: Performance of pre-optimization done (n=127): time 4.889e-06/0.8687, allocations: 2.906 kB / 0.7496 GB, free: 8.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=127): time 0.00638/0.8751, allocations: 2.241 MB / 0.7518 GB, free: 7.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.8753, allocations: 226.7 kB / 0.752 GB, free: 7.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8764, allocations: 0.7503 MB / 0.7528 GB, free: 7.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.8766, allocations: 52.92 kB / 0.7528 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.8772, allocations: 0.5948 MB / 0.7534 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.8776, allocations: 430.6 kB / 0.7538 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.8777, allocations: 22.19 kB / 0.7538 GB, free: 6.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.8779, allocations: 406.5 kB / 0.7542 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.8796, allocations: 0.6127 MB / 0.7548 GB, free: 6.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.8815, allocations: 0.7816 MB / 0.7556 GB, free: 5.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.8834, allocations: 0.6726 MB / 0.7562 GB, free: 5.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.8834, allocations: 10.89 kB / 0.7562 GB, free: 5.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004448/0.8878, allocations: 1.647 MB / 0.7578 GB, free: 5.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005918/0.8885, allocations: 1.134 MB / 0.759 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.8885, allocations: 6.766 kB / 0.759 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.8887, allocations: 36.59 kB / 0.759 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.8906, allocations: 339.6 kB / 0.7593 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.8921, allocations: 1.294 MB / 0.7606 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.8939, allocations: 189.5 kB / 0.7608 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.894, allocations: 62.77 kB / 0.7608 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8941, allocations: 8.094 kB / 0.7608 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004017/0.8981, allocations: 1.52 MB / 0.7623 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8981, allocations: 6.219 kB / 0.7623 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8981, allocations: 7.625 kB / 0.7623 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8999, allocations: 353.9 kB / 0.7627 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.8999, allocations: 10.38 kB / 0.7627 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.9015, allocations: 182.2 kB / 0.7629 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.9016, allocations: 57.8 kB / 0.7629 GB, free: 2.215 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.9028, allocations: 442.7 kB / 0.7633 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.9031, allocations: 112.9 kB / 0.7634 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005163/0.9082, allocations: 1.919 MB / 0.7653 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.9083, allocations: 19.94 kB / 0.7653 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9083, allocations: 0 / 0.7653 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.9083, allocations: 7.969 kB / 0.7653 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/0.9155, allocations: 3.548 MB / 0.7688 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9156, allocations: 0 / 0.7688 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.9173, allocations: 315.3 kB / 0.7691 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.9175, allocations: 25.67 kB / 0.7691 GB, free: 0 / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.9176, allocations: 45.94 kB / 0.7692 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.9187, allocations: 1.292 MB / 0.7704 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9188, allocations: 6.875 kB / 0.7704 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.9236, allocations: 1.739 MB / 0.7721 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008773/0.9245, allocations: 399.6 kB / 0.7725 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.9246, allocations: 30 kB / 0.7725 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.9259, allocations: 136.7 kB / 0.7727 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.9261, allocations: 77.27 kB / 0.7728 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.9262, allocations: 56.48 kB / 0.7728 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009087/0.9271, allocations: 0.5375 MB / 0.7733 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9271, allocations: 4 kB / 0.7733 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002295/0.9294, allocations: 0.7231 MB / 0.774 GB, free: 13.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.9309, allocations: 0.6173 MB / 0.7746 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006481/0.9374, allocations: 2.469 MB / 0.7771 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.9374, allocations: 7.125 kB / 0.7771 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.9395, allocations: 0.9199 MB / 0.778 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.9409, allocations: 240.8 kB / 0.7782 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.9469, allocations: 3.34 MB / 0.7814 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008679/0.9478, allocations: 1.265 MB / 0.7827 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002709/0.9505, allocations: 0.5096 MB / 0.7832 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/0.951, allocations: 145.1 kB / 0.7833 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.9511, allocations: 0 / 0.7833 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of Templates: time 0.03398/0.985, allocations: 17.78 MB / 0.8007 GB, free: 6.004 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1) Environment - environmentSimulation: