Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 197.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 68.45 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2308, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003764/0.2346, allocations: 2.443 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2368, allocations: 1.466 MB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.237, allocations: 4 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.2376, allocations: 171.3 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.238, allocations: 127.5 kB / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.2384, allocations: 187.4 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2387, allocations: 223.2 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.2389, allocations: 125.2 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.2391, allocations: 75.75 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.2393, allocations: 111.6 kB / 0.7883 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2393, allocations: 12 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.2396, allocations: 175.6 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.2397, allocations: 63.86 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.2398, allocations: 87.59 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.2401, allocations: 271.2 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2402, allocations: 0 / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2402, allocations: 3.984 kB / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2402, allocations: 4 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006543/0.2408, allocations: 475.1 kB / 0.7893 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2409, allocations: 8.031 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.2409, allocations: 54.67 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.2414, allocations: 64.67 kB / 0.7894 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2417, allocations: 235.1 kB / 0.7897 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2417, allocations: 8.641 kB / 0.7897 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.2418, allocations: 12.38 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.2422, allocations: 275.5 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2422, allocations: 4 kB / 0.7899 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.2423, allocations: 11.98 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.2423, allocations: 20.22 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2426, allocations: 204.5 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.2446, allocations: 1.58 MB / 0.7917 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.2449, allocations: 327.2 kB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.245, allocations: 57.69 kB / 0.7921 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2451, allocations: 8 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2451, allocations: 38.55 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2451, allocations: 0 / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006307/0.2457, allocations: 240.5 kB / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.2458, allocations: 85.05 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.246, allocations: 192 kB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2461, allocations: 29.89 kB / 0.7926 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.2462, allocations: 163.7 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2462, allocations: 35.47 kB / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.2463, allocations: 49.69 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2464, allocations: 322.8 kB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2465, allocations: 72.81 kB / 0.7933 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2467, allocations: 157.9 kB / 0.7934 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.247, allocations: 234.9 kB / 0.7936 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.247, allocations: 0 / 0.7936 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004608/0.2475, allocations: 261.1 kB / 0.7939 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2475, allocations: 12.88 kB / 0.7939 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2475, allocations: 4.422 kB / 0.7939 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.2475, allocations: 15.92 kB / 0.7939 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2478, allocations: 47.95 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2478, allocations: 7.938 kB / 0.794 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.248, allocations: 15.98 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.248, allocations: 12 kB / 0.794 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001677/0.2482, allocations: 156.1 kB / 0.7941 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002015/0.2484, allocations: 152 kB / 0.7943 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003034/0.2487, allocations: 215.8 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-06/0.2487, allocations: 0 / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003491/0.249, allocations: 245.1 kB / 0.7947 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2491, allocations: 8 kB / 0.7947 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2491, allocations: 416 / 0.7947 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.2491, allocations: 12 kB / 0.7948 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2492, allocations: 51.84 kB / 0.7948 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2493, allocations: 4.469 kB / 0.7948 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.2494, allocations: 11.98 kB / 0.7948 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2494, allocations: 19.94 kB / 0.7948 GB, free: 1.109 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.2495, allocations: 188.2 kB / 0.795 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.2496, allocations: 11.81 kB / 0.795 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.2499, allocations: 154.9 kB / 0.7952 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2499, allocations: 8 kB / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2499, allocations: 0 / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2499, allocations: 0 / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.251, allocations: 0.7196 MB / 0.7959 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.2511, allocations: 4 kB / 0.7959 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.2512, allocations: 23.92 kB / 0.7959 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2512, allocations: 4 kB / 0.7959 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.2513, allocations: 12.11 kB / 0.7959 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.2513, allocations: 4 kB / 0.7959 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2513, allocations: 7.938 kB / 0.7959 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.2517, allocations: 374.6 kB / 0.7963 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2518, allocations: 108.8 kB / 0.7964 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.2518, allocations: 7.984 kB / 0.7964 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.252, allocations: 8 kB / 0.7964 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.252, allocations: 15.92 kB / 0.7964 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.2521, allocations: 8 kB / 0.7964 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001396/0.2522, allocations: 153.4 kB / 0.7966 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2522, allocations: 3.938 kB / 0.7966 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005232/0.2527, allocations: 72 kB / 0.7967 GB, free: 15.08 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008258/0.2536, allocations: 0.922 MB / 0.7976 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.2541, allocations: 268.9 kB / 0.7978 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2541, allocations: 0 / 0.7978 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.2542, allocations: 60.34 kB / 0.7979 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.2548, allocations: 37.78 kB / 0.7979 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.2579, allocations: 2.328 MB / 0.8002 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.2584, allocations: 0.7403 MB / 0.8009 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000221/0.2586, allocations: 73.41 kB / 0.801 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.2587, allocations: 43.42 kB / 0.801 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.2587, allocations: 0 / 0.801 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2797, allocations: 3.506 MB / 0.8044 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.869, allocations: 15.83 kB / 0.8045 GB, free: 6.945 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)