Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00502/0.00502, allocations: 101 kB / 15.73 MB, free: 5.586 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.001196/0.001196, allocations: 189.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001987, allocations: 283.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.2 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 91.86 kB / 0.6814 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.414, allocations: 86.98 MB / 0.7664 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003577/0.4176, allocations: 2.417 MB / 0.7687 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.4197, allocations: 1.418 MB / 0.7701 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.4198, allocations: 4 kB / 0.7701 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.4205, allocations: 175.2 kB / 0.7703 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.4207, allocations: 135.4 kB / 0.7704 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.4211, allocations: 187.5 kB / 0.7706 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.4214, allocations: 219.3 kB / 0.7708 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.4216, allocations: 120.7 kB / 0.7709 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.4218, allocations: 87.69 kB / 0.771 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.422, allocations: 107.6 kB / 0.7711 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.422, allocations: 12 kB / 0.7711 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.4223, allocations: 179.6 kB / 0.7713 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.4223, allocations: 63.81 kB / 0.7714 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.4224, allocations: 87.52 kB / 0.7714 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.4228, allocations: 273.8 kB / 0.7717 GB, free: 14.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4228, allocations: 4 kB / 0.7717 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.103e-06/0.4228, allocations: 0 / 0.7717 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.4228, allocations: 0 / 0.7717 GB, free: 14.48 MB / 0.545 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.0006005/0.4234, allocations: 475.1 kB / 0.7722 GB, free: 13.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4234, allocations: 8.031 kB / 0.7722 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.4239, allocations: 68.61 kB / 0.7722 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.4242, allocations: 243.3 kB / 0.7725 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4242, allocations: 12.66 kB / 0.7725 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.4243, allocations: 12.38 kB / 0.7725 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.4247, allocations: 287.6 kB / 0.7728 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4247, allocations: 0 / 0.7728 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4247, allocations: 4 kB / 0.7728 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.4248, allocations: 16.23 kB / 0.7728 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.4251, allocations: 208.4 kB / 0.773 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.4268, allocations: 1.576 MB / 0.7745 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.4272, allocations: 319.3 kB / 0.7748 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.4273, allocations: 65.67 kB / 0.7749 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.4273, allocations: 0 / 0.7749 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4274, allocations: 34.56 kB / 0.7749 GB, free: 10.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.4274, allocations: 4 kB / 0.7749 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005464/0.4279, allocations: 240.6 kB / 0.7752 GB, free: 10.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.428, allocations: 81.05 kB / 0.7752 GB, free: 10.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.4282, allocations: 196 kB / 0.7754 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4282, allocations: 29.7 kB / 0.7754 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4283, allocations: 159.8 kB / 0.7756 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.4284, allocations: 35.45 kB / 0.7756 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.4284, allocations: 49.89 kB / 0.7757 GB, free: 10.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4286, allocations: 326.8 kB / 0.776 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4287, allocations: 76.75 kB / 0.7761 GB, free: 9.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4288, allocations: 151.1 kB / 0.7762 GB, free: 9.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.4291, allocations: 230.9 kB / 0.7764 GB, free: 9.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4291, allocations: 0 / 0.7764 GB, free: 9.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003688/0.4295, allocations: 257.2 kB / 0.7767 GB, free: 8.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4295, allocations: 7.984 kB / 0.7767 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4295, allocations: 4 kB / 0.7767 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4296, allocations: 7.938 kB / 0.7767 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.4298, allocations: 47.91 kB / 0.7767 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4298, allocations: 11.94 kB / 0.7768 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.43, allocations: 20.23 kB / 0.7768 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.43, allocations: 23.94 kB / 0.7768 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001609/0.4302, allocations: 164 kB / 0.777 GB, free: 8.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001397/0.4303, allocations: 143.7 kB / 0.7771 GB, free: 8.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002194/0.4305, allocations: 219.8 kB / 0.7773 GB, free: 8.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.4305, allocations: 0 / 0.7773 GB, free: 8.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00032/0.4309, allocations: 237.1 kB / 0.7775 GB, free: 7.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.4309, allocations: 8 kB / 0.7775 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4309, allocations: 4.125 kB / 0.7775 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-06/0.4309, allocations: 4 kB / 0.7775 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.431, allocations: 51.91 kB / 0.7776 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4311, allocations: 7.938 kB / 0.7776 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.4312, allocations: 20.33 kB / 0.7776 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.4312, allocations: 16 kB / 0.7776 GB, free: 7.844 MB / 0.545 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 9.438e-05/0.4313, allocations: 188.2 kB / 0.7778 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.4314, allocations: 15.81 kB / 0.7778 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.4316, allocations: 147 kB / 0.778 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4316, allocations: 3.938 kB / 0.778 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4316, allocations: 0 / 0.778 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4316, allocations: 4 kB / 0.778 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.4325, allocations: 0.7234 MB / 0.7787 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.4325, allocations: 4.344 kB / 0.7787 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.4326, allocations: 31.97 kB / 0.7787 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4326, allocations: 7.984 kB / 0.7787 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4326, allocations: 0 / 0.7787 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4327, allocations: 4 kB / 0.7787 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4327, allocations: 4 kB / 0.7787 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.433, allocations: 382.3 kB / 0.7791 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.4331, allocations: 104.9 kB / 0.7792 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.4331, allocations: 11.94 kB / 0.7792 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4333, allocations: 11.98 kB / 0.7792 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.4333, allocations: 11.88 kB / 0.7792 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4333, allocations: 8 kB / 0.7792 GB, free: 6.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001299/0.4334, allocations: 153.1 kB / 0.7794 GB, free: 5.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4335, allocations: 0 / 0.7794 GB, free: 5.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004611/0.4339, allocations: 68 kB / 0.7794 GB, free: 5.82 MB / 0.545 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.0001451/0.4341, allocations: 111.2 kB / 0.7796 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.4345, allocations: 264.7 kB / 0.7798 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4345, allocations: 448 / 0.7798 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.4346, allocations: 67.84 kB / 0.7799 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.435, allocations: 41.92 kB / 0.7799 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.4356, allocations: 431.2 kB / 0.7803 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.436, allocations: 0.7363 MB / 0.781 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.4361, allocations: 69.47 kB / 0.7811 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.4362, allocations: 19.44 kB / 0.7811 GB, free: 4.02 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4362, allocations: 0 / 0.7811 GB, free: 4.02 MB / 0.545 GB Notification: Performance of Templates: time 0.004254/0.4405, allocations: 1.778 MB / 0.7829 GB, free: 2.258 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)