Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001088/0.001088, allocations: 177.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0007878/0.0007877, allocations: 94.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 10.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002674/0.2207, allocations: 2.591 MB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2226, allocations: 1.783 MB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.2227, allocations: 4 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.2229, allocations: 39.77 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.2232, allocations: 123.6 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.2236, allocations: 163.5 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2238, allocations: 187.6 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.2243, allocations: 323.2 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2244, allocations: 95.67 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2246, allocations: 95.66 kB / 0.9847 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2247, allocations: 8 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.225, allocations: 251.5 kB / 0.985 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.225, allocations: 71.8 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.2251, allocations: 61.64 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2254, allocations: 359.1 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2254, allocations: 4 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2255, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2255, allocations: 0 / 0.9855 GB, free: 21.45 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006507/0.2261, allocations: 0.5145 MB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2262, allocations: 12.02 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.2262, allocations: 62.47 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/0.227, allocations: 135.5 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2273, allocations: 246.6 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2273, allocations: 12.44 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.2274, allocations: 23.98 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.2278, allocations: 345.1 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2278, allocations: 0 / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.2278, allocations: 12 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.2279, allocations: 24.42 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.2283, allocations: 305.4 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.2299, allocations: 1.737 MB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.2303, allocations: 322.1 kB / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/0.2304, allocations: 93.09 kB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2304, allocations: 34.56 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.2305, allocations: 0 / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002121/0.2326, allocations: 0.9695 MB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2326, allocations: 81.3 kB / 0.9902 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2328, allocations: 216.4 kB / 0.9904 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2328, allocations: 25.7 kB / 0.9905 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.2329, allocations: 172.1 kB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.233, allocations: 86.83 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.233, allocations: 4 kB / 0.9907 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.233, allocations: 334.8 kB / 0.991 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2332, allocations: 127.9 kB / 0.9912 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.2334, allocations: 217.1 kB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2336, allocations: 155.9 kB / 0.9915 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2336, allocations: 4 kB / 0.9915 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006671/0.2343, allocations: 0.5041 MB / 0.992 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2343, allocations: 8.312 kB / 0.992 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2343, allocations: 4 kB / 0.992 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.2348, allocations: 155.3 kB / 0.9922 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.235, allocations: 59.91 kB / 0.9922 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.2371, allocations: 3.989 MB / 0.9961 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2373, allocations: 19.97 kB / 0.9961 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2373, allocations: 16 kB / 0.9962 GB, free: 9.668 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.2375, allocations: 158.8 kB / 0.9963 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.2375, allocations: 23.91 kB / 0.9963 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.2382, allocations: 482.4 kB / 0.9968 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2383, allocations: 4 kB / 0.9968 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2383, allocations: 4 kB / 0.9968 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2383, allocations: 7.984 kB / 0.9968 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.2395, allocations: 0.9999 MB / 0.9978 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2395, allocations: 4 kB / 0.9978 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.2396, allocations: 35.91 kB / 0.9978 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.24, allocations: 147.6 kB / 0.998 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.24, allocations: 8 kB / 0.998 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.2419, allocations: 3.977 MB / 1.002 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2419, allocations: 4.031 kB / 1.002 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.2425, allocations: 0.7364 MB / 1.003 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.2426, allocations: 120.9 kB / 1.003 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.2427, allocations: 8 kB / 1.003 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2429, allocations: 19.98 kB / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2429, allocations: 27.86 kB / 1.003 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.243, allocations: 8 kB / 1.003 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001035/0.2431, allocations: 160.2 kB / 1.003 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2431, allocations: 0 / 1.003 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004905/0.2436, allocations: 92 kB / 1.003 GB, free: 2.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009424/0.2445, allocations: 1.903 MB / 1.005 GB, free: 92 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008674/0.2454, allocations: 0.5677 MB / 1.005 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2454, allocations: 128 / 1.005 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.2459, allocations: 409.1 kB / 1.006 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.2463, allocations: 45.56 kB / 1.006 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2495, allocations: 3.303 MB / 1.009 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.2499, allocations: 0.7908 MB / 1.01 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.2501, allocations: 58.23 kB / 1.01 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2502, allocations: 71.42 kB / 1.01 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.2502, allocations: 0 / 1.01 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.2694, allocations: 6.194 MB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.2696, allocations: 225.1 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.116, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)