Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 106.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004228/0.004228, allocations: 284.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 92.19 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4988, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.006154/0.5049, allocations: 3.854 MB / 0.7708 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.508, allocations: 1.776 MB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.5082, allocations: 4 kB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.5097, allocations: 462.1 kB / 0.773 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.5103, allocations: 242.8 kB / 0.7732 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.511, allocations: 254.3 kB / 0.7734 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.5116, allocations: 0.4984 MB / 0.7739 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.5121, allocations: 288.8 kB / 0.7742 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.5124, allocations: 195.4 kB / 0.7744 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.5128, allocations: 235.1 kB / 0.7746 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.5128, allocations: 28 kB / 0.7746 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.5132, allocations: 195.5 kB / 0.7748 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.5133, allocations: 131.6 kB / 0.775 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.5135, allocations: 179.1 kB / 0.7751 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.5142, allocations: 0.4921 MB / 0.7756 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5142, allocations: 0 / 0.7756 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5142, allocations: 0 / 0.7756 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5142, allocations: 0 / 0.7756 GB, free: 11.15 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001203/0.5154, allocations: 0.6622 MB / 0.7763 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5155, allocations: 16.03 kB / 0.7763 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.516, allocations: 84.64 kB / 0.7764 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.5165, allocations: 304.7 kB / 0.7766 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.5165, allocations: 21.03 kB / 0.7767 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.5165, allocations: 36.3 kB / 0.7767 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.5174, allocations: 490 kB / 0.7772 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5174, allocations: 7.875 kB / 0.7772 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.5175, allocations: 12 kB / 0.7772 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/0.5175, allocations: 44.62 kB / 0.7772 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.5183, allocations: 362.2 kB / 0.7776 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.5207, allocations: 2.045 MB / 0.7796 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.5213, allocations: 198.8 kB / 0.7798 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.5217, allocations: 144.8 kB / 0.7799 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.5217, allocations: 3.906 kB / 0.7799 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5217, allocations: 38.5 kB / 0.7799 GB, free: 6.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.5217, allocations: 0 / 0.7799 GB, free: 6.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001131/0.5229, allocations: 419.3 kB / 0.7803 GB, free: 5.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.5229, allocations: 55.41 kB / 0.7804 GB, free: 5.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.5232, allocations: 258.7 kB / 0.7806 GB, free: 5.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5232, allocations: 29.7 kB / 0.7807 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.5234, allocations: 216.2 kB / 0.7809 GB, free: 5.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.5234, allocations: 79.28 kB / 0.7809 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.5235, allocations: 57.94 kB / 0.781 GB, free: 5.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5237, allocations: 338.8 kB / 0.7813 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.524, allocations: 97.91 kB / 0.7814 GB, free: 4.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.5243, allocations: 203.5 kB / 0.7816 GB, free: 4.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/0.5249, allocations: 316.4 kB / 0.7819 GB, free: 4.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5249, allocations: 0 / 0.7819 GB, free: 4.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008068/0.5257, allocations: 354 kB / 0.7823 GB, free: 3.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5257, allocations: 4 kB / 0.7823 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.5257, allocations: 4 kB / 0.7823 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.526, allocations: 41.11 kB / 0.7823 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.5262, allocations: 67.84 kB / 0.7824 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5277, allocations: 1.434 MB / 0.7838 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.5279, allocations: 39.77 kB / 0.7838 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.5279, allocations: 12 kB / 0.7838 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003705/0.5283, allocations: 219.1 kB / 0.784 GB, free: 1.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003412/0.5287, allocations: 221.5 kB / 0.7842 GB, free: 1.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006675/0.5293, allocations: 315.1 kB / 0.7845 GB, free: 1.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.332e-06/0.5293, allocations: 7.984 kB / 0.7845 GB, free: 1.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006927/0.53, allocations: 342.9 kB / 0.7849 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.53, allocations: 12.09 kB / 0.7849 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.53, allocations: 4 kB / 0.7849 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.53, allocations: 4 kB / 0.7849 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.5303, allocations: 79.83 kB / 0.785 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5303, allocations: 8 kB / 0.785 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.5306, allocations: 27.88 kB / 0.785 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.5306, allocations: 12 kB / 0.785 GB, free: 0.7383 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.5308, allocations: 212.1 kB / 0.7852 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.5308, allocations: 27.8 kB / 0.7852 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.5309, allocations: 26.19 kB / 0.7853 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5309, allocations: 4 kB / 0.7853 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5309, allocations: 3.984 kB / 0.7853 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5309, allocations: 0 / 0.7853 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.5322, allocations: 0.7605 MB / 0.786 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5322, allocations: 4 kB / 0.786 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.5324, allocations: 35.97 kB / 0.786 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.5325, allocations: 32.84 kB / 0.7861 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5325, allocations: 4 kB / 0.7861 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.5339, allocations: 1.422 MB / 0.7875 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5339, allocations: 0 / 0.7875 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.5346, allocations: 361.8 kB / 0.7878 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.5347, allocations: 116.9 kB / 0.7879 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.5347, allocations: 4 kB / 0.7879 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.5349, allocations: 15.98 kB / 0.7879 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.535, allocations: 23.91 kB / 0.788 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.535, allocations: 11.94 kB / 0.788 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002425/0.5352, allocations: 182 kB / 0.7882 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5352, allocations: 0 / 0.7882 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006173/0.5359, allocations: 147.6 kB / 0.7883 GB, free: 13.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.536, allocations: 99.8 kB / 0.7884 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.5372, allocations: 484 kB / 0.7889 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5372, allocations: 3.938 kB / 0.7889 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.5375, allocations: 218.5 kB / 0.7891 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.538, allocations: 77.17 kB / 0.7891 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.539, allocations: 0.562 MB / 0.7897 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5395, allocations: 0.7996 MB / 0.7905 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.5398, allocations: 74.22 kB / 0.7905 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.5398, allocations: 19.44 kB / 0.7906 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5398, allocations: 0 / 0.7906 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.008552/0.5484, allocations: 3.598 MB / 0.7941 GB, free: 7.141 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)