Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7243/0.7243, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 109.7 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 51.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1654, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01133/0.1768, allocations: 7.086 MB / 0.6471 GB, free: 15.67 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5695/0.7464, allocations: 153.2 MB / 0.7967 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.7478, allocations: 31.81 kB / 0.7967 GB, free: 2.934 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.7487, allocations: 214.3 kB / 0.7969 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.7507, allocations: 0.5873 MB / 0.7975 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.7535, allocations: 1.057 MB / 0.7985 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004213/0.7577, allocations: 3.95 MB / 0.8024 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.7608, allocations: 2.391 MB / 0.8047 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/0.7641, allocations: 1.413 MB / 0.8061 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.7665, allocations: 1.595 MB / 0.8077 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.7676, allocations: 200 kB / 0.8079 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.7704, allocations: 0.7727 MB / 0.8086 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0007407/0.7712, allocations: 0.7235 MB / 0.8093 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001982/0.7732, allocations: 1.553 MB / 0.8108 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.7789, allocations: 4.385 MB / 0.8151 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/0.7789, allocations: 0 / 0.8151 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/0.779, allocations: 3.938 kB / 0.8151 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001638/0.7791, allocations: 0 / 0.8151 GB, free: 15.99 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.008662/0.7878, allocations: 3.896 MB / 0.8189 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.7879, allocations: 12.03 kB / 0.8189 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009086/0.797, allocations: 1.299 MB / 0.8202 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.8012, allocations: 1.911 MB / 0.8221 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.8014, allocations: 226.1 kB / 0.8223 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/0.8019, allocations: 292 kB / 0.8226 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008801/0.8107, allocations: 4.219 MB / 0.8267 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.8108, allocations: 0 / 0.8267 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.8111, allocations: 135.8 kB / 0.8268 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.8112, allocations: 76 kB / 0.8269 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.8221, allocations: 4.588 MB / 0.8314 GB, free: 15.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02535/0.8475, allocations: 12.87 MB / 0.8439 GB, free: 1.477 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.8583, allocations: 3.774 MB / 0.8476 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004092/0.8624, allocations: 1.558 MB / 0.8492 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.8638, allocations: 1.081 MB / 0.8502 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005219/0.8691, allocations: 1.936 MB / 0.8521 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=223): time 6.532e-06/0.8691, allocations: 0 / 0.8521 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of matching and sorting (n=223): time 0.01531/0.8844, allocations: 4.905 MB / 0.8569 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.8846, allocations: 261.2 kB / 0.8571 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/0.8886, allocations: 1.951 MB / 0.859 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006652/0.8893, allocations: 65.7 kB / 0.8591 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.8906, allocations: 1.232 MB / 0.8603 GB, free: 304 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.8919, allocations: 0.7435 MB / 0.861 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/0.8939, allocations: 0.5346 MB / 0.8616 GB, free: 15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.894, allocations: 301.1 kB / 0.8618 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.8979, allocations: 1.445 MB / 0.8633 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.9023, allocations: 1.756 MB / 0.865 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00823/0.9106, allocations: 3.195 MB / 0.8681 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.9106, allocations: 0 / 0.8681 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01074/0.9214, allocations: 3.732 MB / 0.8717 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.9214, allocations: 12 kB / 0.8718 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.9215, allocations: 8.469 kB / 0.8718 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.9221, allocations: 92.77 kB / 0.8718 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.9259, allocations: 0.7176 MB / 0.8725 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.9281, allocations: 1.528 MB / 0.874 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/0.9321, allocations: 441.4 kB / 0.8745 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008405/0.9329, allocations: 131.8 kB / 0.8746 GB, free: 1.328 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003064/0.936, allocations: 0.8123 MB / 0.8754 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.9371, allocations: 225.2 kB / 0.8756 GB, free: 292 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.9487, allocations: 4.039 MB / 0.8795 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.9488, allocations: 28 kB / 0.8796 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9488, allocations: 3.938 kB / 0.8796 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.9489, allocations: 11.95 kB / 0.8796 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.9652, allocations: 7.225 MB / 0.8866 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.9653, allocations: 4 kB / 0.8866 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/0.9684, allocations: 0.5968 MB / 0.8872 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006003/0.969, allocations: 88.77 kB / 0.8873 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003368/0.9693, allocations: 63.95 kB / 0.8874 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.9713, allocations: 1.548 MB / 0.8889 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9713, allocations: 7.938 kB / 0.8889 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.9849, allocations: 6.064 MB / 0.8948 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/0.9867, allocations: 0.6809 MB / 0.8955 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/0.9874, allocations: 59.69 kB / 0.8955 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/0.9901, allocations: 280.9 kB / 0.8958 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.9905, allocations: 149.8 kB / 0.8959 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/0.9908, allocations: 87.94 kB / 0.896 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002553/0.9934, allocations: 1.462 MB / 0.8975 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9934, allocations: 0 / 0.8975 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002713/0.9961, allocations: 0.8956 MB / 0.8983 GB, free: 8.559 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.9979, allocations: 0.6918 MB / 0.899 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00862/1.007, allocations: 3.374 MB / 0.9023 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.007, allocations: 0 / 0.9023 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004001/1.011, allocations: 1.72 MB / 0.904 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.013, allocations: 431.8 kB / 0.9044 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.03, allocations: 9.013 MB / 0.9132 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/1.032, allocations: 2.299 MB / 0.9154 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004293/1.037, allocations: 0.9466 MB / 0.9164 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.038, allocations: 299.2 kB / 0.9166 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/1.038, allocations: 3.938 kB / 0.9166 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of Templates: time 0.4033/1.442, allocations: 38.85 MB / 0.9546 GB, free: 252.6 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)