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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001583/0.001583, allocations: 176.8 kB / 366.7 MB, free: 1.699 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.5/1.5, allocations: 205.2 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 92.23 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.132e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6909/0.6909, allocations: 116.3 MB / 0.9733 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.8988, allocations: 157.4 MB / 1.127 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.8992, allocations: 92.44 kB / 1.127 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02922/0.9285, allocations: 11.7 MB / 1.139 GB, free: 13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9285, allocations: 4 kB / 1.139 GB, free: 13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.9285, allocations: 4 kB / 1.139 GB, free: 12.99 MB / 0.7448 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.0006736/0.9292, allocations: 450.5 kB / 1.139 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.9293, allocations: 12.03 kB / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006157/0.9299, allocations: 67.67 kB / 1.139 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.9302, allocations: 226.8 kB / 1.139 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.9302, allocations: 4 kB / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.9303, allocations: 8 kB / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003077/0.9306, allocations: 156.2 kB / 1.139 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.931, allocations: 258.5 kB / 1.14 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.931, allocations: 0 / 1.14 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.931, allocations: 0 / 1.14 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.9311, allocations: 20.22 kB / 1.14 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.9328, allocations: 1.546 MB / 1.141 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.9329, allocations: 69.12 kB / 1.141 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.933, allocations: 45.81 kB / 1.141 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.933, allocations: 3.984 kB / 1.141 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.9331, allocations: 34.56 kB / 1.141 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.9331, allocations: 4 kB / 1.141 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004512/0.9335, allocations: 176.6 kB / 1.142 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.9336, allocations: 77.11 kB / 1.142 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.9338, allocations: 193.6 kB / 1.142 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.9338, allocations: 25.7 kB / 1.142 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.9339, allocations: 159.5 kB / 1.142 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.934, allocations: 31.55 kB / 1.142 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.934, allocations: 0 / 1.142 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9341, allocations: 330.9 kB / 1.142 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9343, allocations: 75.91 kB / 1.142 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.9344, allocations: 148.9 kB / 1.143 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.9346, allocations: 114.9 kB / 1.143 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9347, allocations: 0 / 1.143 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004233/0.9351, allocations: 253.3 kB / 1.143 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005524/0.9357, allocations: 1.147 MB / 1.144 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9357, allocations: 4 kB / 1.144 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.9357, allocations: 4 kB / 1.144 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.936, allocations: 47.91 kB / 1.144 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.936, allocations: 11.94 kB / 1.144 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.9362, allocations: 19.88 kB / 1.144 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.9362, allocations: 15.98 kB / 1.144 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.9363, allocations: 0 / 1.144 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003374/0.9366, allocations: 198 kB / 1.144 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9366, allocations: 3.984 kB / 1.144 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.9366, allocations: 7.938 kB / 1.144 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.9368, allocations: 47.97 kB / 1.144 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9368, allocations: 11.92 kB / 1.144 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.937, allocations: 12.36 kB / 1.144 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.937, allocations: 16 kB / 1.144 GB, free: 6.566 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/0.9371, allocations: 108.9 kB / 1.144 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001899/0.9373, allocations: 117.5 kB / 1.145 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.9373, allocations: 7.906 kB / 1.145 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.9376, allocations: 123 kB / 1.145 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9376, allocations: 4 kB / 1.145 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9376, allocations: 0 / 1.145 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.9376, allocations: 5.828 kB / 1.145 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.9383, allocations: 0.5695 MB / 1.145 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9383, allocations: 0 / 1.145 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.9384, allocations: 23.92 kB / 1.145 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.9384, allocations: 4.25 kB / 1.145 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.9384, allocations: 11.89 kB / 1.145 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9384, allocations: 4 kB / 1.145 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9384, allocations: 3.984 kB / 1.145 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.9388, allocations: 395.8 kB / 1.146 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.9389, allocations: 115.3 kB / 1.146 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.9389, allocations: 4 kB / 1.146 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.9391, allocations: 7.984 kB / 1.146 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.9391, allocations: 7.938 kB / 1.146 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.9391, allocations: 9.047 kB / 1.146 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001443/0.9393, allocations: 159.1 kB / 1.146 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9393, allocations: 0 / 1.146 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005256/0.9398, allocations: 79.94 kB / 1.146 GB, free: 4.648 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008765/0.9407, allocations: 1.435 MB / 1.147 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.9411, allocations: 247.7 kB / 1.148 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9411, allocations: 0 / 1.148 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.9412, allocations: 41.42 kB / 1.148 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.9415, allocations: 20.67 kB / 1.148 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.9423, allocations: 328.9 kB / 1.148 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.9427, allocations: 0.7451 MB / 1.149 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.943, allocations: 69.78 kB / 1.149 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.943, allocations: 43.42 kB / 1.149 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.943, allocations: 0 / 1.149 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.9673, allocations: 2.92 MB / 1.152 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.9676, allocations: 166.5 kB / 1.152 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.733, allocations: 0 / 1.152 GB, free: 14.54 MB / 0.7605 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/linux/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)