Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.0008457/0.0008457, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001036/0.001036, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.571/2.571, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 11.94 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7967, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002856/0.7996, allocations: 2.254 MB / 0.9833 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.8017, allocations: 1.318 MB / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.8018, allocations: 0 / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.802, allocations: 27.78 kB / 0.9847 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.8023, allocations: 103.5 kB / 0.9848 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.8027, allocations: 138.3 kB / 0.9849 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.803, allocations: 259.2 kB / 0.9851 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.8035, allocations: 226 kB / 0.9854 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.8037, allocations: 75.69 kB / 0.9854 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.8039, allocations: 91.66 kB / 0.9855 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.804, allocations: 12 kB / 0.9855 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.8042, allocations: 111.8 kB / 0.9856 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.8043, allocations: 51.86 kB / 0.9857 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.8044, allocations: 53.64 kB / 0.9857 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.8046, allocations: 205.8 kB / 0.9859 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8047, allocations: 0 / 0.9859 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8047, allocations: 3.938 kB / 0.9859 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8047, allocations: 0 / 0.9859 GB, free: 1.289 MB / 0.7325 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.0006766/0.8054, allocations: 443 kB / 0.9864 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8054, allocations: 12.03 kB / 0.9864 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.636e-05/0.8055, allocations: 54.53 kB / 0.9864 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.806, allocations: 63.73 kB / 0.9865 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.8062, allocations: 223.9 kB / 0.9867 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.8063, allocations: 8.281 kB / 0.9867 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.8063, allocations: 19.95 kB / 0.9867 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.8068, allocations: 279.7 kB / 0.987 GB, free: 76 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.8068, allocations: 0 / 0.987 GB, free: 76 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.8068, allocations: 11.98 kB / 0.987 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.8069, allocations: 16.22 kB / 0.987 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.8072, allocations: 208.5 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.8089, allocations: 1.58 MB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.8093, allocations: 327.2 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.8096, allocations: 61.69 kB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.8096, allocations: 0 / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.8097, allocations: 30.56 kB / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.8097, allocations: 3.938 kB / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0005586/0.8102, allocations: 248.7 kB / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.8103, allocations: 81.17 kB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.8105, allocations: 199.5 kB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.8105, allocations: 25.7 kB / 0.9897 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8106, allocations: 159.5 kB / 0.9898 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.8107, allocations: 39.45 kB / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.8107, allocations: 0 / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8109, allocations: 330.8 kB / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.811, allocations: 67.95 kB / 0.9903 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.8112, allocations: 156.6 kB / 0.9904 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.8113, allocations: 91.91 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8113, allocations: 0 / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003687/0.8117, allocations: 261.2 kB / 0.9907 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.8118, allocations: 163.7 kB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8118, allocations: 7.938 kB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8118, allocations: 8 kB / 0.9909 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.812, allocations: 55.91 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.8121, allocations: 11.94 kB / 0.991 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.8122, allocations: 15.89 kB / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.8122, allocations: 12 kB / 0.991 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/0.8123, allocations: 4 kB / 0.991 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002722/0.8125, allocations: 195.8 kB / 0.9912 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8125, allocations: 3.984 kB / 0.9912 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.82e-06/0.8126, allocations: 8 kB / 0.9912 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.8127, allocations: 47.92 kB / 0.9913 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8127, allocations: 7.984 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.369e-05/0.8128, allocations: 8 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.8128, allocations: 8 kB / 0.9913 GB, free: 11.33 MB / 0.7481 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.0001522/0.813, allocations: 225.2 kB / 0.9915 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.8131, allocations: 23.8 kB / 0.9915 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.8133, allocations: 143 kB / 0.9917 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.8133, allocations: 4 kB / 0.9917 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8134, allocations: 3.938 kB / 0.9917 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8134, allocations: 0 / 0.9917 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.8143, allocations: 0.7196 MB / 0.9924 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8144, allocations: 0 / 0.9924 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.8145, allocations: 27.92 kB / 0.9924 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8145, allocations: 4 kB / 0.9924 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.8145, allocations: 8.344 kB / 0.9924 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.8145, allocations: 8 kB / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8145, allocations: 7.953 kB / 0.9924 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.8148, allocations: 366.5 kB / 0.9928 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.8149, allocations: 108.8 kB / 0.9929 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.8149, allocations: 12 kB / 0.9929 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.8151, allocations: 7.984 kB / 0.9929 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.8151, allocations: 23.88 kB / 0.9929 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.8152, allocations: 8 kB / 0.9929 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001128/0.8153, allocations: 144.1 kB / 0.9931 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.362e-06/0.8153, allocations: 0 / 0.9931 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004738/0.8158, allocations: 67.94 kB / 0.9931 GB, free: 9.277 MB / 0.7481 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.0006073/0.8164, allocations: 0.9299 MB / 0.994 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.8168, allocations: 257 kB / 0.9943 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8168, allocations: 0 / 0.9943 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.8169, allocations: 63.83 kB / 0.9943 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.8173, allocations: 28.11 kB / 0.9944 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.819, allocations: 1.147 MB / 0.9955 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.8193, allocations: 0.7324 MB / 0.9962 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.8195, allocations: 74 kB / 0.9963 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.8196, allocations: 47.42 kB / 0.9963 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8196, allocations: 0 / 0.9963 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.8335, allocations: 3.317 MB / 0.9996 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003813/0.8339, allocations: 223.4 kB / 0.9998 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.697, allocations: 5.016 kB / 0.9998 GB, free: 2.484 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat