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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.839/1.839, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005433/0.0005436, allocations: 14.41 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2342, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002557/0.2368, allocations: 2.049 MB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2386, allocations: 1.334 MB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.2387, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2388, allocations: 27.83 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.2391, allocations: 91.72 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2395, allocations: 143.5 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.2397, allocations: 115.8 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.2402, allocations: 226 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2403, allocations: 63.77 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2405, allocations: 67.75 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2405, allocations: 8 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.2407, allocations: 95.91 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.2408, allocations: 59.75 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.2408, allocations: 53.64 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.2411, allocations: 199.8 kB / 0.7915 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.2411, allocations: 3.938 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2411, allocations: 0 / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2411, allocations: 0 / 0.7915 GB, free: 7.383 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.0006204/0.2417, allocations: 455 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2418, allocations: 8.031 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.2423, allocations: 75.69 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2425, allocations: 217.4 kB / 0.7922 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2426, allocations: 12.28 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2426, allocations: 19.97 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.243, allocations: 271.7 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.243, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.243, allocations: 15.92 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.2431, allocations: 16.23 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.2434, allocations: 204.5 kB / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.245, allocations: 1.587 MB / 0.7943 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.2453, allocations: 319.3 kB / 0.7946 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2454, allocations: 4 kB / 0.7946 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2454, allocations: 42.52 kB / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.2454, allocations: 0 / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005105/0.2459, allocations: 237.2 kB / 0.7949 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.246, allocations: 77.3 kB / 0.795 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2461, allocations: 203.9 kB / 0.7951 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2462, allocations: 29.7 kB / 0.7952 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.2463, allocations: 155.6 kB / 0.7953 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.2463, allocations: 35.48 kB / 0.7954 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.2463, allocations: 8 kB / 0.7954 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.2464, allocations: 318.8 kB / 0.7957 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.2465, allocations: 71.95 kB / 0.7957 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2467, allocations: 154.6 kB / 0.7959 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2468, allocations: 99.78 kB / 0.796 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2468, allocations: 0 / 0.796 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003418/0.2472, allocations: 257.3 kB / 0.7962 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004002/0.2476, allocations: 1.13 MB / 0.7973 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.2476, allocations: 3.984 kB / 0.7973 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.2476, allocations: 12 kB / 0.7973 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.2478, allocations: 51.91 kB / 0.7974 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2479, allocations: 12 kB / 0.7974 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.248, allocations: 15.98 kB / 0.7974 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.248, allocations: 8 kB / 0.7974 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.248, allocations: 4 kB / 0.7974 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002636/0.2483, allocations: 199.8 kB / 0.7976 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2483, allocations: 8.062 kB / 0.7976 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.2483, allocations: 11.94 kB / 0.7976 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2485, allocations: 43.97 kB / 0.7977 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2485, allocations: 11.89 kB / 0.7977 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2486, allocations: 11.91 kB / 0.7977 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2486, allocations: 15.98 kB / 0.7977 GB, free: 0.5195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.2488, allocations: 217.2 kB / 0.7979 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.2488, allocations: 15.91 kB / 0.7979 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.2491, allocations: 147 kB / 0.7981 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.2491, allocations: 0 / 0.7981 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2491, allocations: 7.938 kB / 0.7981 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2491, allocations: 4 kB / 0.7981 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.25, allocations: 0.7156 MB / 0.7988 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.25, allocations: 4 kB / 0.7988 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.2501, allocations: 23.98 kB / 0.7988 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2501, allocations: 4 kB / 0.7988 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2502, allocations: 4.344 kB / 0.7988 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2502, allocations: 15.92 kB / 0.7988 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.2502, allocations: 4 kB / 0.7989 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.2505, allocations: 499.3 kB / 0.7993 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.2506, allocations: 108.9 kB / 0.7994 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.2506, allocations: 7.953 kB / 0.7994 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2508, allocations: 4 kB / 0.7994 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.2508, allocations: 24.02 kB / 0.7995 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.2509, allocations: 4 kB / 0.7995 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001155/0.251, allocations: 153.4 kB / 0.7996 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.251, allocations: 3.938 kB / 0.7996 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000466/0.2514, allocations: 71.98 kB / 0.7997 GB, free: 14.28 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 (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.0001297/0.2516, allocations: 103.2 kB / 0.7998 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.252, allocations: 259.5 kB / 0.8 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.252, allocations: 4 kB / 0.8 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.252, allocations: 61.89 kB / 0.8001 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2524, allocations: 38.69 kB / 0.8001 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.253, allocations: 0.49 MB / 0.8006 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2533, allocations: 0.7362 MB / 0.8013 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.2535, allocations: 73.47 kB / 0.8014 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.2535, allocations: 15.44 kB / 0.8014 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.2535, allocations: 4 kB / 0.8014 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of Templates: time 0.00382/0.2573, allocations: 1.627 MB / 0.803 GB, free: 10.8 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: