Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.718/2.718, allocations: 287.3 MB / 302.3 MB, free: 8.379 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.001558/0.001557, allocations: 182.7 kB / 370.8 MB, free: 10.85 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.088/2.088, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001227/0.001227, allocations: 96.16 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006498/0.0006499, allocations: 16.38 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2204, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005386/0.2259, allocations: 3.492 MB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.229, allocations: 1.482 MB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.2293, allocations: 11.94 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.2296, allocations: 63.59 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.2301, allocations: 155.5 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.2308, allocations: 164.6 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.2314, allocations: 311.3 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.2319, allocations: 387 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.2321, allocations: 155.5 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.2325, allocations: 163.4 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.2326, allocations: 20 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.2329, allocations: 75.89 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.2331, allocations: 119.7 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2332, allocations: 89.52 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.2337, allocations: 399.2 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2337, allocations: 0 / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2338, allocations: 0 / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2338, allocations: 0 / 0.9852 GB, free: 21.17 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001454/0.2352, allocations: 0.626 MB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.2353, allocations: 12.02 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.2354, allocations: 82.45 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2365, allocations: 119.5 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.237, allocations: 286.4 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2372, allocations: 54.7 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.2373, allocations: 35.98 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2385, allocations: 0.5007 MB / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2385, allocations: 0 / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.2386, allocations: 15.98 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/0.2386, allocations: 36.94 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2397, allocations: 387.7 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.2432, allocations: 2.227 MB / 0.9894 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.2444, allocations: 274.6 kB / 0.9897 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.2445, allocations: 4 kB / 0.9897 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2446, allocations: 38.55 kB / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.845e-06/0.2446, allocations: 0 / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.002405/0.247, allocations: 0.5932 MB / 0.9903 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2471, allocations: 51.41 kB / 0.9903 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.2474, allocations: 228.9 kB / 0.9906 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2474, allocations: 29.7 kB / 0.9906 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2475, allocations: 207.7 kB / 0.9908 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.2476, allocations: 74.92 kB / 0.9909 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.2476, allocations: 7.938 kB / 0.9909 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.2477, allocations: 334.8 kB / 0.9912 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.2481, allocations: 95.94 kB / 0.9913 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.2485, allocations: 186.8 kB / 0.9915 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.2489, allocations: 112.9 kB / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.2489, allocations: 4 kB / 0.9916 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001406/0.2503, allocations: 396 kB / 0.992 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.2506, allocations: 0.877 MB / 0.9928 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2506, allocations: 4 kB / 0.9928 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007941/0.2514, allocations: 117.6 kB / 0.9929 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.2518, allocations: 51.91 kB / 0.993 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.2559, allocations: 2.857 MB / 0.9958 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.2564, allocations: 35.67 kB / 0.9958 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.2565, allocations: 12 kB / 0.9958 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2565, allocations: 6.188 kB / 0.9958 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/0.2577, allocations: 320.3 kB / 0.9961 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2577, allocations: 4 kB / 0.9961 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.2583, allocations: 81.06 kB / 0.9962 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.2587, allocations: 59.84 kB / 0.9963 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.2614, allocations: 1.51 MB / 0.9977 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.2619, allocations: 27.75 kB / 0.9978 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2619, allocations: 11.98 kB / 0.9978 GB, free: 7.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.2622, allocations: 253 kB / 0.998 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.2623, allocations: 20.05 kB / 0.998 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.2624, allocations: 34.17 kB / 0.9981 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2624, allocations: 3.984 kB / 0.9981 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2624, allocations: 4 kB / 0.9981 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2624, allocations: 0 / 0.9981 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.2629, allocations: 381.3 kB / 0.9984 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.263, allocations: 0 / 0.9984 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.2633, allocations: 35.97 kB / 0.9985 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/0.2639, allocations: 105.6 kB / 0.9986 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2639, allocations: 4 kB / 0.9986 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.2677, allocations: 2.826 MB / 1.001 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2677, allocations: 0 / 1.001 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2689, allocations: 417 kB / 1.002 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2691, allocations: 112.8 kB / 1.002 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.2692, allocations: 7.984 kB / 1.002 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.2695, allocations: 8 kB / 1.002 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2696, allocations: 27.86 kB / 1.002 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.2697, allocations: 4 kB / 1.002 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001862/0.2698, allocations: 160.5 kB / 1.002 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2699, allocations: 4 kB / 1.002 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008151/0.2707, allocations: 171.4 kB / 1.002 GB, free: 2.352 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.2721, allocations: 0.9476 MB / 1.003 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002962/0.2751, allocations: 0.7698 MB / 1.004 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2752, allocations: 3.938 kB / 1.004 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.2764, allocations: 377.6 kB / 1.004 GB, free: 172 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.277, allocations: 59.52 kB / 1.004 GB, free: 116 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.2821, allocations: 3.017 MB / 1.007 GB, free: 13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.2827, allocations: 0.8191 MB / 1.008 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.2831, allocations: 58.25 kB / 1.008 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.2834, allocations: 87.41 kB / 1.008 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of SimCode: time 3.486e-06/0.2834, allocations: 0 / 1.008 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.3208, allocations: 6.476 MB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000413/0.3213, allocations: 215.8 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.148, allocations: 0 / 1.015 GB, free: 5.492 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)