Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 187.2 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001033, allocations: 97.38 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 9.312 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2405, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003953/0.2445, allocations: 4.275 MB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.2473, allocations: 2.348 MB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.2477, allocations: 19.81 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.2479, allocations: 87.22 kB / 0.9069 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007071/0.2486, allocations: 350.1 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.2492, allocations: 281.2 kB / 0.9075 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.25, allocations: 0.9718 MB / 0.9084 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.2506, allocations: 420.3 kB / 0.9088 GB, free: 55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.2509, allocations: 290.7 kB / 0.9091 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.2513, allocations: 322.6 kB / 0.9094 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.2513, allocations: 20 kB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.2517, allocations: 195.7 kB / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.2518, allocations: 163.5 kB / 0.9098 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.2519, allocations: 129.4 kB / 0.9099 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.2524, allocations: 0.6431 MB / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2524, allocations: 0 / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2524, allocations: 0 / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.2524, allocations: 4 kB / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009915/0.2534, allocations: 0.8295 MB / 0.9113 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2535, allocations: 8.031 kB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.355e-05/0.2536, allocations: 94.5 kB / 0.9114 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.2547, allocations: 210.8 kB / 0.9116 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.2552, allocations: 481.3 kB / 0.9121 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2552, allocations: 36.98 kB / 0.9121 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.2553, allocations: 40 kB / 0.9122 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.2562, allocations: 0.8367 MB / 0.913 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2562, allocations: 7.938 kB / 0.913 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.2563, allocations: 23.98 kB / 0.913 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.679e-05/0.2563, allocations: 68.89 kB / 0.9131 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006628/0.257, allocations: 0.5733 MB / 0.9136 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.2601, allocations: 5.647 MB / 0.9192 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.2607, allocations: 442.3 kB / 0.9196 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.261, allocations: 237.2 kB / 0.9198 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.2611, allocations: 7.953 kB / 0.9198 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2611, allocations: 38.48 kB / 0.9199 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.487e-06/0.2611, allocations: 0 / 0.9199 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002445/0.2636, allocations: 1.497 MB / 0.9213 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2636, allocations: 63.34 kB / 0.9214 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.2641, allocations: 494.9 kB / 0.9218 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2641, allocations: 29.7 kB / 0.9219 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2643, allocations: 350.8 kB / 0.9222 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.2644, allocations: 122.3 kB / 0.9223 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.2644, allocations: 12 kB / 0.9223 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2645, allocations: 362.8 kB / 0.9227 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.2648, allocations: 193.2 kB / 0.9229 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.2651, allocations: 446.9 kB / 0.9233 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2654, allocations: 264 kB / 0.9235 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2654, allocations: 4 kB / 0.9236 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001029/0.2665, allocations: 0.8015 MB / 0.9243 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2665, allocations: 8 kB / 0.9243 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2665, allocations: 12 kB / 0.9244 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.267, allocations: 152.5 kB / 0.9245 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.2675, allocations: 127.8 kB / 0.9246 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.2699, allocations: 4.04 MB / 0.9286 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.2704, allocations: 39.97 kB / 0.9286 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.2704, allocations: 27.94 kB / 0.9286 GB, free: 33.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.2707, allocations: 205.6 kB / 0.9288 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.2708, allocations: 67.2 kB / 0.9289 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009895/0.2718, allocations: 0.6045 MB / 0.9295 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2718, allocations: 7.953 kB / 0.9295 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2718, allocations: 0 / 0.9295 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2718, allocations: 3.984 kB / 0.9295 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.2734, allocations: 1.246 MB / 0.9307 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2734, allocations: 7.984 kB / 0.9307 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.2737, allocations: 55.89 kB / 0.9308 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.274, allocations: 144.4 kB / 0.9309 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.2741, allocations: 8 kB / 0.9309 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.2762, allocations: 4.025 MB / 0.9348 GB, free: 26.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2763, allocations: 0 / 0.9348 GB, free: 26.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.2771, allocations: 0.7082 MB / 0.9355 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2773, allocations: 176.3 kB / 0.9357 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.2774, allocations: 8 kB / 0.9357 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2776, allocations: 19.97 kB / 0.9357 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.2777, allocations: 31.97 kB / 0.9358 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2777, allocations: 12 kB / 0.9358 GB, free: 25.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000338/0.2781, allocations: 326.8 kB / 0.9361 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.11e-07/0.2781, allocations: 0 / 0.9361 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006623/0.2787, allocations: 143.9 kB / 0.9362 GB, free: 24.96 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.2798, allocations: 1.262 MB / 0.9375 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.2809, allocations: 1.033 MB / 0.9385 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.281, allocations: 4.125 kB / 0.9385 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.2816, allocations: 0.7301 MB / 0.9392 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.2825, allocations: 185.9 kB / 0.9394 GB, free: 21.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.2873, allocations: 3.45 MB / 0.9427 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.2877, allocations: 0.9019 MB / 0.9436 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.2882, allocations: 117.2 kB / 0.9437 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.2884, allocations: 199.4 kB / 0.9439 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.443e-06/0.2885, allocations: 4 kB / 0.9439 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.3137, allocations: 12.07 MB / 0.9557 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.3139, allocations: 236.3 kB / 0.9559 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.764, allocations: 0 / 0.9559 GB, free: 4.586 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)