Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.71/2.71, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001548/0.001548, allocations: 193.9 kB / 370.8 MB, free: 10.86 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.223/2.223, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001138/0.001138, allocations: 90.97 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006333, allocations: 11.73 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2454, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00503/0.2505, allocations: 3.245 MB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.2537, allocations: 1.595 MB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.2541, allocations: 7.938 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.2544, allocations: 59.59 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.255, allocations: 155.6 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.2557, allocations: 155.6 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.2562, allocations: 267.4 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.2566, allocations: 289.2 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.2569, allocations: 131.5 kB / 0.984 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.2572, allocations: 143.4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.2573, allocations: 16 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.2577, allocations: 111.8 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2578, allocations: 99.77 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.2579, allocations: 85.52 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.2585, allocations: 371.3 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2585, allocations: 0 / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2585, allocations: 4 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2586, allocations: 3.938 kB / 0.9848 GB, free: 21.54 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001056/0.2596, allocations: 0.5768 MB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.2597, allocations: 12.02 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.905e-05/0.2598, allocations: 74.47 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.2611, allocations: 147.5 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.2616, allocations: 282.4 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2617, allocations: 20.64 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.2617, allocations: 28 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009218/0.2627, allocations: 451.6 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2627, allocations: 4 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.2628, allocations: 15.98 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/0.2628, allocations: 32.5 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.2636, allocations: 325.9 kB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.2662, allocations: 2.181 MB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.2668, allocations: 255.7 kB / 0.9891 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2668, allocations: 4 kB / 0.9891 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2669, allocations: 38.8 kB / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.2669, allocations: 3.938 kB / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.000801/0.2677, allocations: 316.7 kB / 0.9894 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.2677, allocations: 51.41 kB / 0.9895 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.2681, allocations: 270.5 kB / 0.9897 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.2681, allocations: 25.7 kB / 0.9898 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2682, allocations: 211.8 kB / 0.99 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.2683, allocations: 47.3 kB / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.2683, allocations: 8 kB / 0.99 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.2684, allocations: 326.8 kB / 0.9903 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2686, allocations: 64.42 kB / 0.9904 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.2688, allocations: 135.2 kB / 0.9905 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.269, allocations: 85.64 kB / 0.9906 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.269, allocations: 0 / 0.9906 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006108/0.2696, allocations: 269.8 kB / 0.9909 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.2696, allocations: 7.953 kB / 0.9909 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2697, allocations: 4.344 kB / 0.9909 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.2699, allocations: 32.84 kB / 0.9909 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.2703, allocations: 47.91 kB / 0.991 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.2714, allocations: 1.327 MB / 0.9923 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.2717, allocations: 27.69 kB / 0.9923 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2718, allocations: 8.094 kB / 0.9923 GB, free: 13.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (27): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.272, allocations: 169.7 kB / 0.9925 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.2721, allocations: 27.67 kB / 0.9925 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.2721, allocations: 34.02 kB / 0.9925 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2721, allocations: 0 / 0.9925 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2721, allocations: 3.938 kB / 0.9925 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2722, allocations: 0 / 0.9925 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2733, allocations: 0.6273 MB / 0.9931 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2733, allocations: 4.125 kB / 0.9931 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2735, allocations: 31.92 kB / 0.9932 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.2737, allocations: 16.84 kB / 0.9932 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.2737, allocations: 8 kB / 0.9932 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.2747, allocations: 1.323 MB / 0.9945 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2748, allocations: 3.938 kB / 0.9945 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.2753, allocations: 355.2 kB / 0.9948 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.2754, allocations: 116.8 kB / 0.9949 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.2755, allocations: 0 / 0.9949 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.2757, allocations: 19.98 kB / 0.9949 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.2758, allocations: 4 kB / 0.995 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.2758, allocations: 15.98 kB / 0.995 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002289/0.2761, allocations: 182 kB / 0.9951 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2761, allocations: 0 / 0.9951 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005443/0.2766, allocations: 83.7 kB / 0.9952 GB, free: 9.973 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007249/0.2774, allocations: 1.164 MB / 0.9964 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006731/0.2781, allocations: 277.2 kB / 0.9966 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2781, allocations: 128 / 0.9966 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.2784, allocations: 186.5 kB / 0.9968 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.2789, allocations: 60.73 kB / 0.9969 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.282, allocations: 3.159 MB / 0.9999 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2823, allocations: 0.8064 MB / 1.001 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.2826, allocations: 42.27 kB / 1.001 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.2828, allocations: 83.41 kB / 1.001 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.2828, allocations: 0 / 1.001 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.3099, allocations: 4.835 MB / 1.006 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004041/0.3103, allocations: 203.4 kB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/2.857, allocations: 4 kB / 1.006 GB, free: 15.08 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)