Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.599/2.599, allocations: 287.5 MB / 302.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001277, allocations: 184.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.6297 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.000859, allocations: 89.09 kB / 0.743 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005316, allocations: 12.64 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2199, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003428/0.2234, allocations: 2.264 MB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.226, allocations: 1.264 MB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.2262, allocations: 4 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2264, allocations: 23.78 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.2269, allocations: 123.4 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.2275, allocations: 137.8 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.2279, allocations: 295.1 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.2285, allocations: 286.1 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.2287, allocations: 95.62 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.229, allocations: 111.6 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.2291, allocations: 8 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.2293, allocations: 71.88 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.2294, allocations: 59.8 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.2295, allocations: 57.64 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.2298, allocations: 211.8 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2298, allocations: 3.938 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.135e-06/0.2298, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2299, allocations: 3.938 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008229/0.2307, allocations: 470.8 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2307, allocations: 16.02 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.2308, allocations: 58.53 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006831/0.2315, allocations: 71.69 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.2318, allocations: 230.6 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.2319, allocations: 16.27 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.2319, allocations: 8 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.2326, allocations: 312.6 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2326, allocations: 0 / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2327, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.2328, allocations: 24.27 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.2335, allocations: 280.5 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.2355, allocations: 1.513 MB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.2363, allocations: 261.1 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.2367, allocations: 133.6 kB / 0.9866 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.2367, allocations: 0 / 0.9866 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.2367, allocations: 42.52 kB / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.2368, allocations: 0 / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001133/0.2379, allocations: 357.2 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.238, allocations: 77.11 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.2381, allocations: 170.8 kB / 0.9872 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2382, allocations: 33.7 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.2383, allocations: 136.1 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.2383, allocations: 59.19 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.2384, allocations: 4 kB / 0.9875 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.2384, allocations: 322.8 kB / 0.9878 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.2388, allocations: 111.9 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.2391, allocations: 167.6 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.2395, allocations: 124 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2395, allocations: 0 / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008405/0.2404, allocations: 322.9 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.2405, allocations: 145.2 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.2405, allocations: 3.984 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2405, allocations: 4 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.241, allocations: 63.89 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2411, allocations: 4 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.2414, allocations: 35.75 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.2415, allocations: 12 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.2415, allocations: 4 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006915/0.2422, allocations: 243.6 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2422, allocations: 0 / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2422, allocations: 4 kB / 0.989 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.2426, allocations: 59.83 kB / 0.989 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2426, allocations: 4 kB / 0.989 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.2429, allocations: 39.98 kB / 0.989 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2429, allocations: 8 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001752/0.2431, allocations: 217 kB / 0.9893 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.2432, allocations: 15.81 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.244, allocations: 284.4 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.244, allocations: 4 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.244, allocations: 0 / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.244, allocations: 3.953 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.2454, allocations: 0.6811 MB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2455, allocations: 0 / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.2459, allocations: 51.89 kB / 0.9903 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.088e-06/0.2459, allocations: 4 kB / 0.9903 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2459, allocations: 11.95 kB / 0.9903 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.246, allocations: 4.125 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.246, allocations: 4 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.2467, allocations: 465.8 kB / 0.9907 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2469, allocations: 116.8 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.2469, allocations: 4 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.2473, allocations: 23.92 kB / 0.9909 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.2473, allocations: 19.98 kB / 0.9909 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2474, allocations: 4 kB / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001244/0.2475, allocations: 131.2 kB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2475, allocations: 0 / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006511/0.2482, allocations: 87.75 kB / 0.9911 GB, free: 14.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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.001035/0.2492, allocations: 1.001 MB / 0.9921 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.2504, allocations: 379.1 kB / 0.9924 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2504, allocations: 0 / 0.9924 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.2508, allocations: 119.8 kB / 0.9926 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.2515, allocations: 44.72 kB / 0.9926 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.2542, allocations: 1.261 MB / 0.9938 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2544, allocations: 0.7479 MB / 0.9946 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003604/0.2548, allocations: 73.47 kB / 0.9946 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.255, allocations: 51.42 kB / 0.9947 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.193e-06/0.255, allocations: 0 / 0.9947 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2784, allocations: 3.799 MB / 0.9984 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004202/0.2789, allocations: 206.7 kB / 0.9986 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.878, allocations: 6.828 kB / 0.9986 GB, free: 7.074 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)