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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007747/0.0007748, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004731/0.004731, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 270.4 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.912, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 17.78 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002458/0.1411, allocations: 2.12 MB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1431, allocations: 1.399 MB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.1431, allocations: 7.938 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1433, allocations: 11.86 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1436, allocations: 126.3 kB / 0.6888 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.144, allocations: 163.7 kB / 0.689 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.1443, allocations: 323.6 kB / 0.6893 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.1447, allocations: 248.4 kB / 0.6895 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1448, allocations: 68.95 kB / 0.6896 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.145, allocations: 103.6 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1451, allocations: 8 kB / 0.6897 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1454, allocations: 216.1 kB / 0.6899 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.1454, allocations: 60.58 kB / 0.69 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.1455, allocations: 97.31 kB / 0.6901 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1458, allocations: 287.8 kB / 0.6903 GB, free: 9.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1459, allocations: 0 / 0.6903 GB, free: 9.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1459, allocations: 1.688 kB / 0.6903 GB, free: 9.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1459, allocations: 3.938 kB / 0.6903 GB, free: 9.711 MB / 494.1 MB 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.0005439/0.1464, allocations: 435.3 kB / 0.6908 GB, free: 9.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1465, allocations: 16.03 kB / 0.6908 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.1465, allocations: 46.73 kB / 0.6908 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.1471, allocations: 64.69 kB / 0.6909 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1473, allocations: 227.9 kB / 0.6911 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1473, allocations: 12.66 kB / 0.6911 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.1473, allocations: 12.38 kB / 0.6911 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.1477, allocations: 292 kB / 0.6914 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1478, allocations: 0 / 0.6914 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1478, allocations: 4 kB / 0.6914 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.1478, allocations: 24.22 kB / 0.6914 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.1481, allocations: 204.5 kB / 0.6916 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1497, allocations: 1.58 MB / 0.6932 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.15, allocations: 323.3 kB / 0.6935 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/0.1501, allocations: 65.62 kB / 0.6935 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1502, allocations: 0 / 0.6935 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1502, allocations: 38.56 kB / 0.6936 GB, free: 6.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 8.81e-07/0.1502, allocations: 0 / 0.6936 GB, free: 6.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000509/0.1507, allocations: 240.5 kB / 0.6938 GB, free: 5.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1508, allocations: 89.28 kB / 0.6939 GB, free: 5.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1509, allocations: 192.9 kB / 0.6941 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.151, allocations: 25.7 kB / 0.6941 GB, free: 5.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.1511, allocations: 163.8 kB / 0.6942 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1511, allocations: 35.45 kB / 0.6943 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1511, allocations: 25.7 kB / 0.6943 GB, free: 5.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1513, allocations: 322.8 kB / 0.6946 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1514, allocations: 71.89 kB / 0.6947 GB, free: 4.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1515, allocations: 153.1 kB / 0.6948 GB, free: 4.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1518, allocations: 230.9 kB / 0.695 GB, free: 4.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1518, allocations: 0 / 0.695 GB, free: 4.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003627/0.1522, allocations: 257.5 kB / 0.6953 GB, free: 4.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.1523, allocations: 183.3 kB / 0.6955 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1523, allocations: 3.938 kB / 0.6955 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1523, allocations: 4 kB / 0.6955 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1525, allocations: 52.09 kB / 0.6955 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1525, allocations: 11.94 kB / 0.6955 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1527, allocations: 19.89 kB / 0.6956 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1527, allocations: 12 kB / 0.6956 GB, free: 3.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-06/0.1527, allocations: 4 kB / 0.6956 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002723/0.153, allocations: 199.5 kB / 0.6958 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.153, allocations: 7.938 kB / 0.6958 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.153, allocations: 4.375 kB / 0.6958 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1532, allocations: 51.91 kB / 0.6958 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1532, allocations: 4 kB / 0.6958 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1533, allocations: 19.92 kB / 0.6958 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1533, allocations: 8 kB / 0.6958 GB, free: 3.535 MB / 494.1 MB 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.0001259/0.1535, allocations: 217 kB / 0.6961 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.1535, allocations: 15.81 kB / 0.6961 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1538, allocations: 147 kB / 0.6962 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1538, allocations: 0 / 0.6962 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1538, allocations: 11.94 kB / 0.6962 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1538, allocations: 0 / 0.6962 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008598/0.1547, allocations: 0.7196 MB / 0.6969 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1547, allocations: 0 / 0.6969 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1548, allocations: 23.98 kB / 0.6969 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1548, allocations: 7.984 kB / 0.697 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1548, allocations: 8 kB / 0.697 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1548, allocations: 3.938 kB / 0.697 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1548, allocations: 4 kB / 0.697 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.1551, allocations: 386.6 kB / 0.6973 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1552, allocations: 108.8 kB / 0.6974 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1552, allocations: 11.98 kB / 0.6975 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1554, allocations: 4 kB / 0.6975 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1554, allocations: 19.92 kB / 0.6975 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1555, allocations: 7.938 kB / 0.6975 GB, free: 1.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1556, allocations: 152.3 kB / 0.6976 GB, free: 1.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1556, allocations: 0 / 0.6976 GB, free: 1.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1561, allocations: 68 kB / 0.6977 GB, free: 1.48 MB / 494.1 MB 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.0005332/0.1566, allocations: 0.9125 MB / 0.6986 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.157, allocations: 263.5 kB / 0.6988 GB, free: 264 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.157, allocations: 1.5 kB / 0.6988 GB, free: 264 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.1571, allocations: 60.41 kB / 0.6989 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.1576, allocations: 31.98 kB / 0.6989 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1598, allocations: 2.386 MB / 0.7013 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1601, allocations: 0.7401 MB / 0.702 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000193/0.1603, allocations: 77.47 kB / 0.7021 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.1604, allocations: 43.42 kB / 0.7021 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1604, allocations: 0 / 0.7021 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.173, allocations: 3.269 MB / 0.7053 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.1732, allocations: 228.4 kB / 0.7055 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.796, allocations: 2.531 kB / 0.7055 GB, free: 9.363 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)